tp_data
takes TreePPL program data and out an data to be use by
tp_treeppl()
.
Value
A phyjson data (S3), see tp_phyjson()
for further
details.
Details
This function takes TreePPL program data and import them.
data_input
: The full path of the data file that contains
the TreePPL program data OR
data_input
: The model name of one model supported by treepplr package
(see tp_model_name()
for exemple data supported) OR
data_input
: The list (or strucutred list) containing TreePPL program data.