deviance.tweedie.numeric.md
Tweedie Deviance
Description
safe_deviance.tweedie <- function(x, y, ...) {
stopifnot(
!anyNA(x), !anyNA(y),
length(x) == length(y)
)
deviance.tweedie(x, y, ...)
}Usage
## S3 method for class 'tweedie.numeric'
deviance(actual, predicted, power = 2, ...)Arguments
Value
References
Examples
Last updated