timepoints: Calculate Estimates at Specific Timepoints

Description Usage Arguments Value See Also

View source: R/cmprsk.R

Description

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

Usage

1
timepoints(w, times)

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

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.

See Also

cuminc


cmprsk documentation built on May 29, 2017, 8 p.m.