qrq {quantreg} | R Documentation |
Compute linearized quantiles from rq data structure.
qrq(s, a)
s |
data structure returned by the quantile regression function rq with t<0 or t>1. |
a |
the vector of quantiles for which the corresponding linearized quantiles are to be computed. |
a vector of the linearized quantiles corresponding to vector a, as interpolated from the second row of s$sol.
rq and trq for further detail.
x <- -10:10; y <- 0.2 * x + rt(x, df=3) z <- qrq(rq(x,y), a=0.1) # assigns z the linearized quantiles # corresponding to vector a.