Learn R Programming

caretEnsemble (version 1.0.0)

residuals.caretEnsemble: Calculate the residuals from a caretEnsemble.

Description

This function calculates raw residuals for both regression and classification caretEnsemble objects.

Usage

## S3 method for class 'caretEnsemble':
residuals(object, ...)

Arguments

object
a caretEnsemble to make predictions from.
...
other arguments to be passed to residuals

Value

  • A numeric of the residuals.