Research Article

smoothHR: An R Package for Pointwise Nonparametric Estimation of Hazard Ratio Curves of Continuous Predictors

Table 1

Summary of functions in the package.

Function Description

smoothHR Main function of the package. Returns an object of class HR.
dfmacox Provides the number of degrees of freedom in the additive Cox model.
plot A function that provides the plots for the hazard ratio curves taking a specific value as reference.
predict Provides estimates for the hazard ratio and their corresponding confidence limits.
print Prints details about the Cox model.