make_theta {rater} | R Documentation |
Make a theta parameter
Description
Make a theta parameter
Usage
make_theta(diag_values, J, K)
Arguments
diag_values |
The diagonal entries of each error matrix. |
J |
The number of raters (The umber matrices in 3D array). |
K |
The number of latent classes. |
Details
The diag_values
argument can either be a numeric vector of length
1 or J. If it is length J, the jth element is the diagonal values of the
error matrix for the jth rater. If it is length 1 all raters have the same
diagonal values.
Value
A c(J, K, K) array; the theta parameter
Examples
theta <- make_theta(0.7, 5, 4)
theta[1, , ]
[Package rater version 1.3.1 Index]