sampledata: A simulated data to illustrate the use of CoxFlex and...

sampledataR Documentation

A simulated data to illustrate the use of CoxFlex and BackSelection

Description

A dataframe containing the prices and other attributes of almost 54,000 diamonds.

Usage

sampledata

Format

A data frame with 2307 rows and 8 variables:

Id

variable

Event

Binary indicator 1=event, 0=cencorsed

Fup

Length of follow up

Start

Start of the interval

Stop

Stop of the interval

x1

continuous time-varying covariate

x2

baseline continuous covariate generated from a standard normal distribution

x3

baseline continuouse covariate generated from a lognormal distribution

Source

This dataset is simulated using the PermAlgo packagehttp://cran.r-project.org/web/packages/PermAlgo/index.html


ywang297/CoxFlex documentation built on March 18, 2024, 3:26 a.m.