Ispline | R Documentation |
Evaluates the I-splines for all variables of a data frame, as performed in Zeta.msgdm
.
Ispline(dat, order.ispline = 2, kn.ispline = 1, rescale = 0)
dat |
A data frame whose columns are variables to be transformed using I-splines. |
order.ispline |
Order of the I-spline. |
kn.ispline |
Number of knots in the I-spline. |
rescale |
Indicates how to rescale the values between 0 and 1. Default is 0, which divides the data by the maximum value. Any other value corresponds to setting the minimum value to 0. |
Ispline
returns a data frame with the same number of rows as dat and
ncol(dat)
* (order.ispline
+ kn.ispline)
columns.
Ramsay, J. O. (1988). Monotone regression splines in action. Statistical Science, 425-441.
Ferrier, S., Manion, G., Elith, J., & Richardson, K. (2007). Using generalized dissimilarity modelling to analyse and predict patterns of beta diversity in regional biodiversity assessment. Diversity and Distributions, 13(3), 252-264.
Zeta.msgdm
utils::data(bird.env.coarse) data.env <- bird.env.coarse[,3:9] data.env.splines <- Ispline(data.env)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.