plotRisk.coxres: Performs Cox Proportional Hazard model hazard ratio plots

View source: R/BasicRun.R

plotRisk.coxresR Documentation

Performs Cox Proportional Hazard model hazard ratio plots

Description

plotRisk.coxres uses user provided data, time/event columns, vectors specifying the model, and options to choose and save plots

Usage

## S3 method for class 'coxres'
plotRisk(x, df, plot_options, a_n = c(), ...)

Arguments

x

result object from a regression, class coxres

df

a data.table containing the columns of interest

plot_options

list of parameters controlling the plot options, see RunCoxPlots() for different options

a_n

list of initial parameter values, used to determine the number of parameters. May be either a list of vectors or a single vector.

...

can include the named entries for the plot_options parameter

Value

returns the data used for plots

See Also

Other Plotting Wrapper Functions: plot.coxres(), plotMartingale.coxres(), plotSchoenfeld.coxres(), plotSurvival.coxres()


Colossus documentation built on Feb. 20, 2026, 5:10 p.m.