Learn R Programming

InformativeCensoring (version 0.3.6)

MakeTimeDepScore: Create a valid ScoreTD object

Description

Create a valid ScoreTD object

Usage

MakeTimeDepScore(data, Id, time.start, time.end)

Value

A ScoreTD object

Arguments

data

A data frame of time dependent covariates

Id

The column name of the subject Id

time.start

The covariates are valid for the time [time.start,time.end] where time.start is the column name of time.start

time.end

The covariates are valid for the time [time.start,time.end] where time.end is the column name of time.end