Learn R Programming

cmprsk (version 2.2-12)

timepoints: Calculate Estimates at Specific Timepoints

Description

Find values at specified timepoints from curves specified as all corners of step functions.

Usage

timepoints(w, times)

Value

A list with components

$est

a matrix of estimates of the subdistributions with a row for each component in w and a column for each time

$var

a matrix giving the corresponding variances.

Arguments

w

a list containing the estimates, with points for all corners of the step function. (Usually created by cuminc.) Each component in the list contains the estimate for a different group. Each component has components giving times, function estimates, and variances (see cuminc)

times

vector of times where estimates are needed

See Also

cuminc