Description Usage Arguments Details Value Author(s) Examples
Fits non-linear SEM via 1. order Laplace Approximation
1 2 3 |
model |
model list |
data |
data.frame |
laplace.control |
Options to the Laplace Approximation algorithm |
control |
Options parsed on to optimizer (nlminb) |
method |
Optimization method |
vcov |
Boolean indicating whether calculation of asymptotic standard |
p |
(Optional) evaluate log-likelihood in p |
fast |
if TRUE do not spend time on returning lava object/graph errors should be disabled |
... |
Additional parameters parsed on to lower level functions |
The model
arguments must be a named list: list( measure0, measure1,
measure2, pred0, pred1, pred2, model)
where 'model' currently can be either 'nsem2' (2-factor model) or 'nsem3' (3-factor model). Each of the remaining elements can be either character vectors or formulas.
Alternatively, a list of lists can be used as the model
argument in
which case a list of data.frames also much be given as data
argument.
A multigroup model is then fitted.
lava.nlin
object (available methods: coef
,
logLik
, score
, vcov
, print
, ...)
Klaus K. Holst
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.