pa_example | R Documentation |
A sample dataset for fitting a path analysis model.
pa_example
An object of class data.frame
with 100 rows and 4 columns.
Four variables (x1 to x4), 100 cases.
Sample model to fit (in lavaan::model.syntax notation)
mod <- 'x1 ~~ x2 x3 ~ x1 + x2 x4 ~ x1 + x3 '
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.