get_qc_tbl: Extended residuals of a predx object.

View source: R/utils_qc.R

get_qc_tblR Documentation

Extended residuals of a predx object.

Description

Extracts extended working residuals of prediction and potential outliers.

Usage

get_qc_tbl(predx_object)

Arguments

predx_object

an object of class predx.

Details

Calculates working residuals for regression and binary classification predictions. In addition, squared and standardized residuals are returned along with expected normal distribution values for the standardized residuals and the true outcome. Potential outliers are identified by the two-SD criterion.

Value

a data frame with the fitted values, true outcome, residuals and candidate outliers.


PiotrTymoszuk/caretExtra documentation built on Oct. 15, 2023, 10:03 p.m.