Summary of the crude probability of death
Returns a list containing the estimated values at required times.
## S3 method for class 'cmp.rel' summary(object, times, scale = 365.241,area=FALSE,...)
object |
output of the function |
times |
the times at which the output is required. |
scale |
The time scale in which the times are specified. The default value is |
area |
Should area under the curves at time |
... |
Additional arguments, currently not implemented |
The variance is calculated using numerical integration. If the required time is not a time at which the value was estimated, the value at the last time before it is reported. The density of the time points is set by the precision argument in the cmp.rel function.
A list of values is returned.
cmp.rel
data(slopop)
data(rdata)
#calculate the crude probability of death and summarize it
fit <- cmp.rel(Surv(time,cens)~sex,rmap=list(age=age*365),
ratetable=slopop,data=rdata,tau=3652.41)
summary(fit,c(1,3),scale=365.241)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.