i2p_sample.Rd
Fit a CmdStan model using NUTS
i2p_sample(data, model = i2p_model(), diagnostics = TRUE, ...)
A list of data as produced by enw_as_data_list()
.
A cmdstanr
model object as loaded by enw_model()
.
Logical, defaults to TRUE
. Should fitting diagnostics
be returned as a data.frame
.
Additional parameters passed to the sample
method of cmdstanr
.
A data.frame
containing the cmdstanr
fit, the input data, the
fitting arguments, and optionally summary diagnostics.
Other model:
i2p_model()