buildrisksets: Calculation of risksets

View source: R/buildrisksets.R

buildrisksetsR Documentation

Calculation of risksets

Description

Calculates risksets needed for using family multistate.

Usage

buildrisksets(entry, exit, trans, event, statusinfo)

Arguments

entry

a vector with entry times.

exit

a vector with exit times.

trans

a vector with transition types.

event

a vector with noncensoring event indicators.

statusinfo

a logical indicating if information on the calculation process should be printed.

Details

This function calculates riksets needed for family multistate.

Value

A list of length 2 with elements Ci and Ri, each vectors of length n.

Author(s)

Holger Reulen


gamboostMSM documentation built on May 6, 2022, 9:06 a.m.