Description Usage Arguments Value Examples
View source: R/make_stan_model.R
make_stan_model
function creates the stan model code
defining the SDT model with additional regression structure and
random effects if these are specified using the random
argument. See make_stan_data
for details on how to
specify a random effects structure. The model is described in detail
in the paper (TODO reference)
1 2 3 4 5 6 | make_stan_model(
random = NULL,
gamma_link = "softmax",
model = "sdt",
delta_link = "log"
)
|
random |
an optional list specifying random effects
structure. See |
gamma_link |
can be either 'softmax' (described in the paper), 'log_distance', or 'log_ratio' (See the Readme file in the github repository) |
model |
can be either 'sdt' (the default), 'uvsdt', 'metad', 'ordinal', or 'uvordinal' |
a string containing the full model definition in the stan modelling language.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.