Data Visualization

Visualizing survival data with population time plots

plot(<popTime>) popTime() checkArgsTimeEvent()

Population Time Plot

Model Fitting

Main functions for fitting smooth hazard functions and plotting them

fitSmoothHazard() fitSmoothHazard.fit() prepareX()

Fit smooth-in-time parametric hazard functions.

absoluteRisk.CompRisk() absoluteRisk() print(<absRiskCB>) plot(<absRiskCB>)

Compute absolute risks using the fitted hazard function.

plotHazardRatio() plot(<singleEventCB>) incrVar()

Plot Hazards and Hazard Ratios

hazardPlot()

Plot Fitted Hazard Curve as a Function of Time

confint(<absRiskCB>)

Compute confidence intervals for risks

Datasets

Datasets that ship with the package to illustrate usage

ERSPC

Data on the men in the European Randomized Study of Prostate Cancer Screening

bmtcrr

Data on transplant patients

brcancer

German Breast Cancer Study Group 2

eprchd

Estrogen plus Progestin and the Risk of Coronary Heart Disease (eprchd)

simdat

Simulated data under Weibull model with Time-Dependent Treatment Effect

support

Study to Understand Prognoses Preferences Outcomes and Risks of Treatment (SUPPORT)

Internal Utility Functions

Functions not really meant for the user

sampleCaseBase()

Create case-base dataset for use in fitting parametric hazard functions

checkArgsEventIndicator()

Check that Event is in Correct Format

summary()

An S4 class to store the output of fitSmoothHazard