Learn R Programming

SurrogateOutcome (version 1.1)

ExampleData: Hypothetical data

Description

Hypothetical data to be used in examples; t=5 and the landmark time = 2.

Usage

data(ExampleData)

Arguments

Format

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

s1

Time of the occurrence of the surrogate outcome for treated observations.

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

Time of the occurrence of the surrogate outcome for control observations.

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 the time of the surrogate outcome is used in all functions only if the surrogate outcome occurs before the minimum of the event time and censoring time.

Examples

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

Run the code above in your browser using DataLab