i2p_sample: Fit a CmdStan model using NUTS

i2p_sampleR Documentation

Fit a CmdStan model using NUTS

Description

Fit a CmdStan model using NUTS

Usage

i2p_sample(data, model = i2p_model(), diagnostics = TRUE, ...)

Arguments

data

A list of data as produced by enw_as_data_list().

model

A cmdstanr model object as loaded by enw_model().

diagnostics

Logical, defaults to TRUE. Should fitting diagnostics be returned as a data.frame.

...

Additional parameters passed to the sample method of cmdstanr.

Value

A data.frame containing the cmdstanr fit, the input data, the fitting arguments, and optionally summary diagnostics.

See Also

Other model: i2p_model()


seabbs/inc2prev documentation built on Nov. 14, 2023, 9:38 p.m.