virtual {YPInterimTesting}R Documentation

virtual Data Set for the example

Description

This virtual data set is created to show how to use the package.

Usage

data(virtual)

Format

The data has the following information:

time

the numeric matrix of event times for all interim looks up to the current look.

event

the numeric matrix of right-censoring indicators corresponding to time (event = 1, censored = 0).

group

the numeric vector of the group indicator (treatment = 1, control = 0).

See Also

ypinterim

Examples

library(YPInterimTesting)
data(virtual)
time <- virtual$time
colnames(time) # Check the order of the column names.
head(time)

[Package YPInterimTesting version 1.0.3 Index]