splinetree | R Documentation |
splinetree
is a wrapper for functions (g)lmertree
to simplify
fitting, visualizing and predicting spline-based trees.
splinetree(formula, data, family = "gaussian", ...)
formula |
A four-part function See Examples below, and
|
data |
a |
family |
family specification for |
... |
additional arguments to be passed to function |
A object of class"splinetree"
and "lmertree"
or "glmertree"
.
plot.splinetree
predict.splinetree
lmertree
glmertree
sp <- splinetree(Pn ~ ns(PAR, df = 5) | Specimen | Species, data = eco)
sp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.