Last data update: 2014.03.03

R: Calculate Estimates at Specific Timepoints
timepointsR Documentation

Calculate Estimates at Specific Timepoints

Description

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

Usage

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

Results