a_latent_resid_set.Rd
Creates latent residual terms for each variable in vars
, using
varname
to name them.
a_latent_resid_set(vars, varname)
vars | Vector of variable names (column names in the target data.frame). |
---|---|
varname | Used to name the latent residuals. |
A list with the model text in model_text
, latent residual
names in varname
, and type
set to 'latent' (not used yet).