lavaanList-class | R Documentation |
The lavaanList
class represents a collection of (fitted)
latent variable models, for a (potentially large) number of datasets.
It contains information about the model (which is always the same),
and for every dataset a set of (user-specified) slots from a regular
lavaan object.
Objects can be created via the
cfaList
, semList
, or
lavaanList
functions.
version
:The lavaan package version used to create this objects
call
:The function call as returned by match.call()
.
Options
:Named list of options that were provided by the user, or filled-in automatically.
ParTable
:Named list describing the model parameters. Can be coerced to a data.frame. In the documentation, this is called the ‘parameter table’.
pta
:Named list containing parameter table attributes.
Data
:Object of internal class "Data"
: information
about the data.
Model
:Object of internal class "Model"
: the
internal (matrix) representation of the model
meta
:List containing additional flags. For internal use only.
timingList
:List. Timing slot per dataset.
ParTableList
:List. ParTable slot per dataset.
DataList
:List. Data slot per dataset.
SampleStatsList
:List. SampleStats slot per dataset.
CacheList
:List. Cache slot per dataset.
vcovList
:List. vcov slot per dataset.
testList
:List. test slot per dataset.
optimList
:List. optim slot per dataset.
impliedList
:List. implied slot per dataset.
h1List
:List. h1 slot per dataset.
loglikList
:List. loglik slot per dataset.
baselineList
:List. baseline slot per dataset.
funList
:List. fun slot per dataset.
internalList
:List. internal slot per dataset.
external
:List. Empty slot to be used by add-on packages.
signature(object = "lavaanList", type = "free")
: Returns
the estimates of the parameters in the model as the columns in a matrix;
each column corresponds to a different dataset.
If type="free"
, only the free parameters are returned.
If type="user"
, all parameters listed in the parameter table
are returned, including constrained and fixed parameters.
signature(object = "lavaanList", header = TRUE,
estimates = TRUE, nd = 3L,
simulate.args = list(list(est.bias = TRUE, se.bias = TRUE,
prop.sig = TRUE, trim = 0)))
:
Print a summary of the collection of fitted models.
If header = TRUE
, the header section is
printed.
If estimates = TRUE
, print the parameter estimates section.
The argument nd
determines the number of digits after the
decimal point to be printed (currently only in the parameter estimates
section.)
The argument simulate.args
is only used if the meta slot
indicates that the parameter tables are obtained in the context of
a simulattion. The options switch on/off the columns that are printed,
and the trim
option determines the amount of trimming that is
used when taking the average (or standard deviation) across all
replications.
cfaList
, semList
, lavaanList
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.