Learn R Programming

quantreg (version 5.99.1)

Munge: Munge rqss formula

Description

function to recursively substitute arguments into rqss formula

Usage

Munge(formula, ...)

Value

A new formula after substitution

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.

See Also

demo(MCV)

Examples

Run this code
lams <- c(1.3, 3.3)
f <- y ~ qss(x, lambda = lams[1]) + qss(z, lambda = lams[2]) + s
ff <- Munge(f, lams = lams)

Run the code above in your browser using DataLab