pa_example: Sample dataset pa_example

pa_exampleR Documentation

Sample dataset pa_example

Description

A sample dataset for fitting a path analysis model.

Usage

pa_example

Format

An object of class data.frame with 100 rows and 4 columns.

Details

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
 '

semptools documentation built on Oct. 15, 2023, 5:07 p.m.