make_sem_ram {tinyVAST} | R Documentation |
Make a RAM (Reticular Action Model) from a SEM (structural equation model)
Description
make_sem_ram
converts SEM arrow notation to ram
describing SEM parameters
Usage
make_sem_ram(sem, variables, quiet = FALSE, covs = variables)
Arguments
sem |
structural equation model structure, passed to either |
variables |
A character vector listing the set of variables |
quiet |
if |
covs |
optional: a character vector of one or more elements, with each element
giving a string of variable names, separated by commas. Variances and covariances
among all variables in each such string are added to the model. For confirmatory
factor analysis models specified via |
Value
An S3-class "sem_ram"
containing:
model
Output from
specifyEquations
orspecifyModel
that defines paths and parametersram
reticular action module (RAM) describing dependencies