Make the text string for a dynamic factor analysis expressed using arrow-and-lag notation for DSEM.
make_dfa(variables, n_factors, factor_names = paste0("F", seq_len(n_factors)))
A text string to be passed to dsem
Character string of variables (i.e., column names of tsdata
).
Number of factors.
Optional character-vector of factor names,
which must match NA columns in tsdata
.