Learn R Programming

modelbpp (version 0.1.6)

dat_path_model: A Sample Dataset Based on a Path Model (For Testing)

Description

Generated from the a path model (n = 100).

Usage

dat_path_model

Arguments

Format

A data frame with four variables:

x1

Predictor

x2

Predictor

x3

Mediator

x4

Outcome

Details

The model used to generate this dataset:

x1 ~~ x2
x3 ~ x1 + x2
x4 ~ x3 + x1 + x2