predict.caretx | R Documentation |
Predicts the outcome in train, cross-validation and, optionally, test data set.
## S3 method for class 'caretx'
predict(object, newdata = NULL, plain = FALSE, ...)
object |
|
newdata |
test data set. |
plain |
logical, should the results be coerced to a single data frame? |
... |
extra arguments, currently none. |
Extends the output of predict.train
method.
a list of predx
objects containing the predictions
for the training, resample (CV) and test data sets along with
model and data set type information.
See: components.predx
, summary.predx
,
residuals.predx
, confusion.predx
and plot.predx
for useful methods for predx
objects.
If plain
is set to TRUE a prediction data frame if plain is set to TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.