Description Usage Arguments See Also
The various model fits: polynomial "poly", GAM "gam", adaptive GAM "gam.adaptive", various scam fits and resamples from the PB values "avg" can be chosen. avg just fits a linear model with slope = 0 and then resamples the residuals which is effectively the same as just sampling the P/B values directly, i.e. it does not force a relationship between P/B and E and therefore the future is just a resampling of the past. scam (shape constrained additive models) fits force certain characteristics in the shape such as monotonicity, convex, concave, increasing or decreasing.
1 |
PB |
the data and model fit coming from applying the PB model (PB.f) |
model.type |
the kind of model to fit ("poly", "gam", "gam.adaptive","avg","mpi","mpd","cx","cv","micx","micv","mdcx","mdcv" |
knots |
the number of knots for adaptive GAM |
poly.degree |
the degree of the polynomial to fit |
[mgcv::gam()], [mgcv::smooth.terms], [mgcv::scam()], [mgcv::shape.constrained.smooth.terms], [lm()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.