| af.fit | R Documentation | 
Fits nnet, glmnet and linear regression (with and without interaction terms) to a data.frame.
af.fit(data.train, output = NULL, rep.nnet = 5, preProc = c("center",
  "scale"), control = caret::trainControl(method = "boot", number = 10),
  nnet.linout = T, nnet.maxit = 1000, nnet.trace = F, ...)
| data.train | data.frame containing training data. | 
| output | index or name of criterion in training data. | 
| rep.nnet | number of random initialisations that should be applied for choosing af.nnet. | 
data=data.frame(y=rnorm(100),x1=rnorm(100),x2=rnorm(100)); fit.quant(data,"y1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.