dataNCC: Simulated data for recurrent events and a terminal event with...

dataNCCR Documentation

Simulated data for recurrent events and a terminal event with weigths using nested case-control design

Description

This contains a simulated sample of of 819 subjects and 1510 observations. This dataset can be used to illustrate how to fit a joint frailty model for data from nested case-control studies.

Usage

data(dataNCC)

Format

This data frame contains the following columns:

id

identification of patient

cov1

dichotomous covariate (0,1)

cov2

dichotomous covariate (0,1)

t.start

start of interval

t.stop

end of interval (death or censoring time)

gaptime

time to event

event

recurrent event status (0:no, 1:yes)

deathdays

time of terminal event (death or right-censoring)

death

censoring status (0:alive, 1:death)

ncc.wts

weights for NCC design


frailtypack documentation built on Nov. 25, 2023, 9:06 a.m.