Function that constructs a new latent variable model object
lvm(x = NULL, ..., latent = NULL, messages = lava.options()$messages)
Vector of variable names. Optional but gives control of the
sequence of appearance of the variables. The argument can be given as a
character vector or formula, e.g. ~y1+y2
is equivalent to
c("y1","y2")
. Alternatively the argument can be a formula specifying
a linear model.
Additional arguments to be passed to the low level functions
(optional) Latent variables
Controls what messages are printed (0: none)
Returns an object of class lvm
.
regression
, covariance
,
intercept
, ...