model | R Documentation |
The model
function generates AI/ML models
model(data, type = "lm", config = NULL, verbose = FALSE)
data |
data object with data to be modeled, read more prodata |
type |
model type, lm (Fitting Linear Models) by default; available are lm, rlm, ctree, knn, knn1 |
config |
additional parameters for model, read more config |
verbose |
if true the messages are displayed in console, false by default |
model list contains model, predicted, and expected values for all generated models
model_data <- data.frame(a = c(1,2,3,4,5,6),
b = c(1,2,3,4,5,6),
s = c(1,2,3,4,5,6))
config <- config(formula = "a ~ b + s")
model_data <- prodata(model_data, status_colname = "s")
model(model_data, config)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.