plot.quantreg.rfsrc: Plot Quantiles from Quantile Regression Forests

View source: R/plot.quantreg.rfsrc.R

plot.quantreg.rfsrcR 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 quantreg.

prbL

Lower quantile level, typically less than 0.5.

prbU

Upper quantile level, typically greater than 0.5.

m.target

Character string specifying the target outcome for multivariate families. If not provided, a default target is selected automatically.

crps

Logical. If TRUE, calculates the continuous ranked probability score (CRPS) and adds it to the plot.

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

See Also

quantreg.rfsrc


randomForestSRC documentation built on June 8, 2025, 1:12 p.m.