Learn R Programming

smcfcs (version 1.7.1)

ex_cc: Simulated case cohort data

Description

A dataset containing simulated case cohort data, where the sub-cohort was a 10% random sample of the full cohort.

Usage

ex_cc

Arguments

Format

A data frame with 1571 rows and 7 variables:

t

Time to event or censoring

d

Indicator of whether event 1 occurred (d=1), or not (d=0)

x

Partially observed continuous covariate

z

Fully observed covariate

in.subco

A binary indicator of whether the subject is in the sub-cohort

id

An id variable

entertime

The entry time variable to be used in the analysis