Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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


cmprsk

Subdistribution Analysis of Competing Risks

v2.2-10
GPL (>= 2)
Authors
Bob Gray <gray@jimmy.harvard.edu>
Initial release
2020-06-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.