Description Usage Arguments Value
View source: R/multivariate_models.R
Create simulated observations for a multivariate mixed cumulative probit model. For x, either the number of samples (N) and a parameter vector (th_x) must be given, or the full vector (x) must be given.
1 | sim_multivariate(th_y, mod_spec, N = NA, th_x = NA, x = NA)
|
th_y |
The parameter vector for the y-model to simulate with |
mod_spec |
The model specification (for the y-model) |
N |
The number of samples to simulate |
th_x |
The parameterization for x |
x |
The vector of independent variables |
A list object of simulated data containing x, Y, and Ystar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.