make_dfa {dsem} | R Documentation |
Make text for dynamic factor analysis
Description
Make the text string for a dynamic factor analysis expressed using arrow-and-lag notation for DSEM.
Usage
make_dfa(variables, n_factors, factor_names = paste0("F", seq_len(n_factors)))
Arguments
variables |
Character string of variables (i.e., column names of |
n_factors |
Number of factors. |
factor_names |
Optional character-vector of factor names,
which must match NA columns in |
Value
A text string to be passed to dsem
[Package dsem version 1.3.0 Index]