plot.summary.crqs {crq} | R Documentation |
This function plots the quantile treatment effects from a crq fit. It also (optionally) plots the corresponding Cox model estimates and a bootstrap confidence band.
## S3 method for class 'summary.crqs': plot(x, nrow = 3, ncol = 3, CoxPHit = NULL, ...)
x |
An object of class summary.crqs produced by summary.crq . |
CoxPHit |
An object of class coxph produced by coxph , by
default NULL indicating that no Cox effects are plotted. |
nrow |
number of rows in plot array. |
ncol |
number of columns in plot array. |
... |
other arguments to the plotting function |
The betahat (tau) effects estimated by the function crq
are plotted, together with a confidence band produced by the
function summary.crq
. Optionally, one can also overplot
the corresponding estimates of the same covariate effects from
a fitted Cox proportional hazard model. See CoxQTE
for details on how the Cox estimates are translated into
quantile treatment effects comparable to the crq estimates.
There is no formal checking that the models implicit in the
summary.crqs and coxph objects are the same.