View source: R/fill_in_info_model.R
fill_in_info_model | R Documentation |
Extract number of observations, number of manifest
variables, and names of observed variables from a fitted
structural equation model. Fitted model can be of class lavaan
.
fill_in_info_model(internal_list = NULL, model = NULL)
internal_list |
A list with various information extracted from the model. |
model |
Fitted model. The fitted model can be of class |
The inputted internal_list with several slots filled in:
..$fitted_object | object containing fitted SEM model | |
..$info_model$n_obs | single integer; number of observations (sample size) | |
..$info_model$n_ov | single integer; number of observed (manifest) variables | |
..$info_model$var_names | character vector with variable names |
Gische, C., Voelkle, M.C. (2022) Beyond the Mean: A Flexible Framework for Studying Causal Effects Using Linear Models. Psychometrika 87, 868–901. https://doi.org/10.1007/s11336-021-09811-z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.