Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

formulaAm

Construction of a formula Y~s(X1)+...+s(Xp)


Description

This function constructs a formula based on splines for additive models.

Usage

formulaAm(X,Y)

Arguments

X

a data.frame containing the design of experiments

Y

a vector containing the associated response

Value

an object of class formula.

Note

The names of input variables are used to build the appropriate formula.

Author(s)

D. Dupuy

Examples

data(dataIRSN5D)
X <- dataIRSN5D[,1:5]
Y <- dataIRSN5D[,6]
formulaAm(X,Y)

DiceEval

Construction and Evaluation of Metamodels

v1.5
GPL-3
Authors
D. Dupuy and C. Helbert
Initial release
2020-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.