View source: R/joinpoint.surv.new.R
aapc | R Documentation |
Get the trend summary measures for joinpoint relative survival model quickly using default interval=5 (if available). A function that returns the trend summary measures including the Absolute Change in Survival (ACS), the Relative Change in Survival (RCS) . and the Relative Change in Hazard (RCH) for each joinpoint segment
aapc(fit, type="AbsChgSur",interval=5)
fit |
Joinpoint object with predicted values and joinpoint model selections. |
type |
Type of trend summary measure. Supported measures are: RelChgHaz - Hazard of cancer death, AbsChgSur - Absolute change in survival. RelChgSur - Relative change in survival. The default is AbsChgSur. |
interval |
The number of years since diagnosis (follow-up years). |
A data frame with columns start.year
, end.year
, estimate
,
std.error
, lowCI
, upCI
containing the
estimates, standard errors, and confidence interval of the trend summary measure.
data("fit2", package="JPSurv")
# Get the estimate, standard error, and confidence interval of
# the annual changes of cumulative relative survival for interval=5.
aapc(fit2, type="RelChgHaz")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.