Munge {quantreg} | R Documentation |
Munge rqss formula
Description
function to recursively substitute arguments into rqss formula
Usage
Munge(formula, ...)
Arguments
formula |
A rqss formula |
... |
Arguments to be substituted into formula |
Details
Intended (originally) for use with demo(MCV)
.
Based on an R-help suggestion of Gabor Grothendieck.
Value
A new formula after substitution
See Also
demo(MCV)
Examples
lams <- c(1.3, 3.3)
f <- y ~ qss(x, lambda = lams[1]) + qss(z, lambda = lams[2]) + s
ff <- Munge(f, lams = lams)
[Package quantreg version 5.98 Index]