lh | R Documentation |
across items for one person, maximum a posteriori with multivariate normal prior
lh(
traitsj,
lhb.fun,
responsesj,
bi,
bi_int,
int,
loads,
uni,
m.prior,
s.prior,
est = "MAP",
...
)
traitsj |
vector of traits for one person |
bi |
matrix of block indices as returned from create.block.ind() |
bi_int |
matrix of intercep indices as returned from create.blocks.int() |
int |
vector of item intercepts |
loads |
matrix of item loadings, rows = items, columns = traits |
uni |
matrix of item uniquenesses |
m.prior |
vector of means used for multivariate normal prior |
s.prior |
covariance matrix used for multivariate normal prior |
... |
other arguments passed to FUN |
FUN |
function to compute response probability |
perms |
permutations |
list of length N, with entries (block,trait,trait)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.