Routes to the correct prepare function based on threshold structure and whether link parameters are being estimated.
prepare_stan_data_dispatch(
formula,
data,
link,
base,
link_param,
threshold,
full,
prior
)A list suitable for passing to CmdStan
A formula specifying the model
A data frame containing the variables
Link function name
Base distribution for SP link
A list of link parameters
Threshold structure
Whether to use full model (estimate link parameters)
A clm_prior object or NULL for default priors