Learn R Programming

SurrogateTest (version 1.3)

dataA: Hypothetical Study A data

Description

Hypothetical Study A data to be used in examples; t=1 and the landmark time = 0.50.

Usage

data(dataA)

Arguments

Format

A list with 6 elements representing 1000 observations from a control group and 1000 observations from a treatment group:

s1

Surrogate marker measurement for treated observations; this marker is measured at time = 0.5. For observations that experience the primary outcome or are censored before 0.5, this value is NA.

x1

The observed event or censoring time for treated observations; X = min(T, C) where T is the time of the primary outcome and C is the censoring time.

delta1

The indicator identifying whether the treated observation was observed to have the event or was censored; D =1*(T<C) where T is the time of the primary outcome and C is the censoring time.

s0

Surrogate marker measurement for control observations; this marker is measured at time = 0.5. For observations that experience the primary outcome or are censored before 0.5, this value is NA.

x0

The observed event or censoring time for control observations; X = min(T, C) where T is the time of the primary outcome and C is the censoring time.

delta0

The indicator identifying whether the control observation was observed to have the event or was censored; D =1*(T<C) where T is the time of the primary outcome and C is the censoring time.

Details

Note that if the observation is censored or experienced the primary outcome before the landmark time of 0.50, the surrogate marker measurement is not observed and coded NA.

Examples

Run this code
# NOT RUN {
data(dataA)
names(dataA)
# }

Run the code above in your browser using DataLab