| model.frame.RprobitB_fit | R Documentation |
Returns the choice data stored in a fitted model as a data.frame.
## S3 method for class 'RprobitB_fit'
model.frame(formula, ...)
formula |
[ |
... |
Currently not used. |
A data.frame containing the fitted choice data.
set.seed(1)
model <- fit(
choice ~ x, dgp_parameters = list(beta = c(x = 1, ASC_B = -0.5)),
chains = 1
)
head(model.frame(model))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.