Learn R Programming

PredTest (version 0.1.0)

adjusted_example: Adjusted Example Dataset

Description

A simulated dataset demonstrating group differences in three variables. This dataset includes two groups and one covariate, sex.

Usage

adjusted_example

Arguments

Format

A data frame with 20 rows and 5 variables:

group

A binary factor indicating group membership: 0 for control and 1 for treatment.

sex

A binary factor indicating sex: 0 for male and 1 for female.

v1

A numeric vector representing the first variable.

v2

A numeric vector representing the second variable.

v3

A numeric vector representing the third variable.

Examples

Run this code
data(adjusted_example)
head(adjusted_example)

Run the code above in your browser using DataLab