test: A simulation data to test cutpointsOEHR

Description Usage Format

Description

A dataframe named 'test'contains simulated (t,d,x,x1). The relationship of log relative hazard and x is set to to quandratic, which results in a U-shaped relationship.

Usage

1

Format

a dataframe contains 200 rows and 4 variables. The 4 varibles are

t

simulated times of developing survival outcomes like deathes, relapes, etc.

d

censoring indicator, 1 means that survival outcomes are not observed, 0 means survival outcomes are observed. The censoring proportion is set to be 20 percent.

x

a continuous variable which has U-shaped relationship with log relative hazard.

x1

a continuous variable which has linear relationship with log relative hazard.


CutpointsOEHR documentation built on May 2, 2019, 2:43 a.m.