calcDeviance: Calculate deviance.

Description Usage Arguments Value Examples

View source: R/fns.R

Description

Calculate deviance.

Usage

1
calcDeviance(pred, y, na.rm = FALSE, eps = 1e-06)

Arguments

pred

numeric predictions

y

logical truth

na.rm

logical, if TRUE remove NA values

eps

numeric, smoothing term

Value

deviance

Examples

1

sigr documentation built on June 12, 2021, 9:07 a.m.