Learn R Programming

PredTest (version 0.1.0)

pre_post_data_example: Pre-Post Data Example

Description

A simulated dataset showing measurements before and after an intervention. Each subject has multiple measurements over time.

Usage

pre_post_data_example

Arguments

Format

A data frame with 30 rows and 6 variables:

ID

A unique identifier for each subject.

time

A numeric variable indicating time points, 0 for pre-intervention and 12 for post-intervention.

v1

A numeric vector representing the first variable.

v2

A numeric vector representing the second variable.

v3

A numeric vector representing the third variable.

v4

A numeric vector representing the fourth variable.

Examples

Run this code
data(pre_post_data_example)
head(pre_post_data_example)

Run the code above in your browser using DataLab