These are primarily convenience functions for the RcmdrPlugin.survival package, to produce diagnostics for coxph and survreg models in a convenient form for plotting via the package's GUI.
crPlots(model, ...)
# S3 method for coxph
crPlots(model, ...)# S3 method for coxph
dfbeta(model, ...)
# S3 method for dfbeta.coxph
plot(x, ...)
# S3 method for coxph
dfbetas(model, ...)
# S3 method for dfbetas.coxph
plot(x, ...)
# S3 method for survreg
dfbeta(model, ...)
# S3 method for dfbeta.survreg
plot(x, ...)
# S3 method for survreg
dfbetas(model, ...)
# S3 method for dfbetas.survreg
plot(x, ...)
MartingalePlots(model, ...)
# S3 method for coxph
MartingalePlots(model, ...)
testPropHazards(model, test.terms = FALSE, plot.terms = FALSE, ...)
# S3 method for coxph
testPropHazards(model, test.terms = FALSE, plot.terms = FALSE, ...)
Most of these function create graphs and don't return useful values; the dfbeta and dfbetas methods create matrices of dfbeta and dfbetas values.
a Cox regression or parametric survival regression model, as appropriate.
test proportional hazards by terms in the Cox model, rather than by coefficients (default is FALSE).
diagnostic plots of proportional hazards by terms in the Cox model, rather than by coefficients (default is FALSE).
arguments to be passed down.
John Fox <jfox@mcmaster.ca>
crPlots.coxph is a method for the crPlots function in the car package, to create component+residual (partial-residual) plots, using residuals.coxph and predict.coxph in the survival package.
testPropHazards is essentially a wrapper for the cox.zph function in the survival package.
MartingalePlots creates null-model Martingale plots for Cox regression models, using the residuals.coxph function in the survival package.
dfbeta.coxph and dfbetas.coxph provide methods for the standard dfbeta and dfbetas functions, using the residuals.coxph function in the survival package for computation. plot.dfbeta.coxph and plot.dfbetas.coxph are plot methods for the objects produced by these functions.
dfbeta.survreg, dfbetas.survreg, plot.dfbeta.survreg and plot.dfbetas.survreg are similar methods for survreg objects.
John Fox, Marilia Sa Carvalho (2012). The RcmdrPlugin.survival Package: Extending the R Commander Interface to Survival Analysis. Journal of Statistical Software, 49(7), 1-32. tools:::Rd_expr_doi("10.18637/jss.v049.i07").