aapc: Trend summary measures for joinpoint relative survival model

View source: R/joinpoint.surv.new.R

aapcR Documentation

Trend summary measures for joinpoint relative survival model

Description

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

Usage

aapc(fit, type="AbsChgSur",interval=5)

Arguments

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).

Value

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.

Examples

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")

JPSurv documentation built on June 8, 2025, 12:11 p.m.