myexample: Example NCC data

myexampleR Documentation

Example NCC data

Description

An example of NCC data including the survival outcomes, time (censored event time) and status (censoring indicator variable) and two markers: marker1 and marker2.

Usage

myexample

Format

A list with elements, which are:

data

a data.frame with the following columns: time, status, marker1, and marker2

id

ID of the subjects

case

binary values indicating whether each subject is a sub-cohort case

control

binary values indicating whether the subject is a sub-cohort control

m0

the number of controls selected for each case

matchid

a matrix in which the number of rows is equal to the number of selected sub-cohort cases, and the number of columns is m0+1. In each row, the first element is the ID of a case and the remaining elements are the IDs of the controls selected for the given case

Mdat

a matrix of two matching variables

aM

a 2-dimensional vector of matching contraints


michellezhou2009/NCCIPW documentation built on April 25, 2022, 3:39 p.m.