Skip to contents

Plot scaled Schoenfeld residual diagnostics retained by check_ph().

Usage

# S3 method for class 'gtregression_ph'
plot(x, model = NULL, term = NULL, ...)

Arguments

x

An object returned by check_ph().

model

Model to plot. Supply its name or position. This is required when check_ph() evaluated more than one Cox model.

term

Optional model term to plot. Supply its name or position. When omitted, all terms in the selected model are plotted.

...

Additional arguments passed to plot.cox.zph().

Value

The input object, invisibly.