tp_data
takes data and prepares it to be used by
tp_treeppl()
.
Arguments
- data_input
One of tree options:
The full path of the JSON file that contains the data, OR
A string with the name of a model supported by treepplr (see
tp_model_names()
), ORA list (or structured list) containing TreePPL data.
Value
json data (S3), see tp_json()
for further details.