formulaAm | R Documentation |
This function constructs a formula based on splines for additive models.
formulaAm(X,Y)
X |
a data.frame containing the design of experiments |
Y |
a vector containing the associated response |
an object of class formula
.
The names of input variables are used to build the appropriate formula.
D. Dupuy
data(dataIRSN5D) X <- dataIRSN5D[,1:5] Y <- dataIRSN5D[,6] formulaAm(X,Y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.