Learn R Programming

wsMed (version 1.0.2)

example_data: Example Data for within subject mediation

Description

A simulated dataset containing variables for within-subject mediation analysis. The dataset includes four within-subject variables (A, B, C, D), each measured at three levels:

  • A1, A2, A3: Levels of within-subject variable A (e.g., mediator conditions).

  • B1, B2, B3: Levels of within-subject variable B (e.g., outcome conditions).

  • C1, C2, C3: Levels of within-subject variable.

  • D1, D2, D3: Levels of within-subject variable.

Usage

example_data

Arguments

Format

A tibble (data frame) with 100 rows and 12 variables:

A1

Numeric variable

A2

Numeric variable

A3

Numeric variable

B1

Numeric variable

B2

Numeric variable

B3

Numeric variable

C1

Numeric variable

C2

Numeric variable

C3

Numeric variable

D1

Numeric variable

D2

Numeric variable

D3

Numeric variable

Examples

Run this code
data(example_data)
head(example_data)

Run the code above in your browser using DataLab