Learn R Programming

rPowerSampleSize (version 1.0.2)

data: Simulated data

Description

This simulated dataset contains three outcomes, and one adjustement variable, divided in two groups.

Usage

data(data.sim)

Arguments

Format

A data frame with 100 observations on the following 5 variables.

Y1

numeric vector of the first outcome

Y2

numeric vector of the second outcome

Y3

numeric vector of the third outcome

Group

binary vector of the group variable

A

numeric vector of the adjustment variable

Examples

Run this code
# NOT RUN {
data(data.sim)
# }

Run the code above in your browser using DataLab