Description Usage Arguments Value
View source: R/generate-data.R
This function generates data from an IR-tree model.
1 2 3 4 5 6 7 8 9 |
object |
Object of class |
N |
Integer, the number of persons. |
sigma |
Either a matrix or a function that returns a matrix. This matrix
is the variance-covariance matrix of the person parameters that is passed
to |
theta |
Optional numeric matrix of person parameters with one row per person and
one column per dimension (i.e., |
itempar |
Either a list or a function that returns a list. The list has
an element |
link |
Character. Link function to use. |
na_okay |
Logical indicating whether variables with unobserved response
categories are permitted. If |
A list with element data
containing the data and an
element spec
containing the true parameter values etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.