d_example: Hypothetical data

Description Usage Format Examples

Description

Hypothetical data to be used in examples.

Usage

1

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

1
2

Rsurrogate documentation built on Nov. 14, 2021, 9:07 a.m.