residuals.caretEnsemble {caretEnsemble}R Documentation

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.


[Package caretEnsemble version 2.0.1 Index]