A list or data.frame containing summary information about
variables in a data.frame. If object is a fitted lavaan object,
it displays the summary information about the observed variables that are
included in the model. The summary information includes
variable type (numeric, ordered, ...), the number of non-missing values,
the mean and variance for numeric variables, the number of levels of
ordered variables, and the labels for ordered variables.
Arguments
object
Either a data.frame, or an object of class
lavaan.
ov.names
Only used if object is a data.frame. A character vector containing the variables that need to be summarized.
ov.names.x
Only used if object is a data.frame. A character vector containing additional variables that need to be summarized.
ordered
Character vector. Which variables should be treated as ordered
factors
factor
Character vector. Which variables should be treated as (unordered) factors?