Description Usage Arguments Details Note Examples
Displays a graph of the scaled Schoenfeld residuals, along with a smooth curve.
1 2 3 |
x |
result of the |
resid |
a logical value, if |
se |
a logical value, if |
df |
the degrees of freedom for the fitted natural spline, |
nsmo |
number of points used to plot the fitted spline. |
var |
the set of variables for which plots are desired. By default,
plots are produced in turn for each variable of a model.
Selection of a single variable allows other features to be added to
the plot, e.g., a horizontal line at zero or a main title. |
smoothcol |
color for the smooth fit line |
confcol |
color for the upper/lower confidence interval lines |
... |
additional graphical arguments passed to the |
This is an augmented version of the survival::plot.cox.zph
function
that allows for specifying separate colors for the smooth fit line and
confidence interval lines
Load this pacakge AFTER the survival
pacakge.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.