View source: R/model_evaluation.R
choice_probabilities | R Documentation |
This function returns the choice probabilities of an RprobitB_fit
object.
choice_probabilities(x, data = NULL, par_set = mean)
x |
An object of class |
data |
Either |
par_set |
Specifying the parameter set for calculation and either
|
A data frame of choice probabilities with choice situations in rows and
alternatives in columns. The first two columns are the decider identifier
"id"
and the choice situation identifier "idc"
.
data <- simulate_choices(form = choice ~ covariate, N = 10, T = 10, J = 2)
x <- fit_model(data)
choice_probabilities(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.