plot.summary.crqs {crq}R Documentation

Function to plot the effects from a censored regression quantile model

Description

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.

Usage

 ## S3 method for class 'summary.crqs':
 plot(x,  nrow = 3, ncol = 3,  CoxPHit = NULL, ...) 

Arguments

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

Details

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.

See Also

crq,summary.crq,QTECox


[Package crq version 0.3 Index]