Learn R Programming

Rsurrogate (version 3.2)

d_example: Hypothetical data

Description

Hypothetical data to be used in examples.

Usage

data(d_example)

Arguments

Format

A list with 8 elements representing 500 observations from a control group and 500 observations from a treatment group:

s1.a

First surrogate marker measurement for treated observations.

s1.b

Second surrogate marker measurement for treated observations.

s1.c

Third surrogate marker measurement for treated observations.

y1

Primary outcome for treated observations.

s0.a

First surrogate marker measurement for control observations.

s0.b

Second surrogate marker measurement for control observations.

s0.c

Third surrogate marker measurement for control observations.

y0

Primary outcome for control observations.

Examples

Run this code
data(d_example)
names(d_example)

Run the code above in your browser using DataLab