Learn R Programming

rtemis (version 0.79)

learn: Supervised Learning with rtemis

Description

Train any rtemis model

Usage

learn(x, y = NULL, mod = "ppr", x.test = NULL, y.test = NULL,
  x.name = NULL, y.name = NULL, args = list(), question = NULL,
  verbose = TRUE, print.plot = TRUE, ...)

Arguments

x

Numeric vector or matrix / data frame of features i.e. independent variables

y

Numeric vector of outcome, i.e. dependent variable

mod

String: Learner to use. To get list of options, run modSelect()

x.test

Numeric vector or matrix / data frame of testing set features Columns must correspond to columns in x

y.test

Numeric vector of testing set outcome

x.name

Character: Name for feature set

y.name

Character: Name for outcome

args

Optional list of parameters to be passed to learner

question

String: the question you are attempting to answer with this model, in plain language.

verbose

Logical: If TRUE, print summary to screen.

print.plot

Logical: if TRUE, produce plot using mplot3 Takes precedence over plot.fitted and plot.predicted

...

Additional arguments to be passed to learner

Details

args and ... allow you to either pass named arguments, or a list of arguments (or both)