Learn R Programming

caretEnsemble (version 2.0.3)

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 caretEnsemble
residuals(object, ...)

Value

A numeric of the residuals.

Arguments

object

a caretEnsemble to make predictions from.

...

other arguments to be passed to residuals