Prepare the data list to pass to the Stan sampler
Source:R/model_class.R
, R/prepare_standata.R
prepare_standata.Rd
Used internally.
Usage
prepare_standata(model, train, test, ...)
prepare_data_lgtd(train, test = NULL, max_score, discrete)
Arguments
- model
Object
- train
Training dataframe (details of the format in
EczemaFit()
)- test
Testing dataframe (details of the format in
EczemaFit()
)- ...
Arguments to pass to other methods
- max_score
Maximum value that the score can take
- discrete
Whether to use a discrete normal distribution (only relevant for testing)