powered by
function to recursively substitute arguments into rqss formula
Munge(formula, ...)
A new formula after substitution
A rqss formula
Arguments to be substituted into formula
Intended (originally) for use with demo(MCV). Based on an R-help suggestion of Gabor Grothendieck.
demo(MCV)
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