File: timepoints.Rd

package info (click to toggle)
r-cran-cmprsk 2.2-7-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 248 kB
  • sloc: fortran: 769; sh: 31; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\name{timepoints}
\alias{timepoints}
\title{
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{
\item{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)
}
\item{times}{
vector of times where estimates are needed
}}
\value{
  A list with components
  \item{$est}{a matrix of estimates of the subdistributions with a row for
each component in \code{w} and a column for each time}
  \item{$var}{a matrix giving the corresponding variances.}
}
\seealso{
\code{\link{cuminc}}
}
\keyword{survival}
% Converted by Sd2Rd version 1.10.