plot.quantreg.rfsrc {randomForestSRC} | R Documentation |
Plot Quantiles from Quantile Regression Forests
Description
Plots quantiles obtained from a quantile regression forest. Additionally insets the continuous rank probability score (crps), a useful diagnostic of accuracy.
Usage
## S3 method for class 'rfsrc'
plot.quantreg(x, prbL = .25, prbU = .75,
m.target = NULL, crps = TRUE, subset = NULL, xlab = NULL, ylab = NULL, ...)
Arguments
x |
A quantile regression object returned by a call to |
prbL |
Lower quantile level, typically less than |
prbU |
Upper quantile level, typically greater than |
m.target |
Character string specifying the target outcome for multivariate families. If not provided, a default target is selected automatically. |
crps |
Logical. If |
subset |
Optional vector specifying a subset of the data to be plotted. Defaults to plotting all data points. |
xlab |
Label for the x-axis. |
ylab |
Label for the y-axis. |
... |
Additional arguments passed to or from other methods. |
Author(s)
Hemant Ishwaran and Udaya B. Kogalur