Munge | R Documentation |
function to recursively substitute arguments into rqss formula
Munge(formula, ...)
formula |
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.
A new formula after substitution
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.