pinball.numeric.md
Pinball Loss
Description
safe_pinball <- function(x, y, ...) {
stopifnot(
!anyNA(x), !anyNA(y),
length(x) == length(y)
)
pinball(x, y, ...)
}Usage
## S3 method for class 'numeric'
pinball(actual, predicted, alpha = 0.5, deviance = FALSE, ...)Arguments
Value
References
Examples
Last updated