weighted.rsq.numeric.md
r^2
r^2Description
safe_rsq <- function(x, y, ...) {
stopifnot(
!anyNA(x), !anyNA(y),
length(x) == length(y)
)
rsq(x, y, ...)
}Usage
## S3 method for class 'numeric'
weighted.rsq(actual, predicted, w, k = 0, ...)Arguments
Value
References
Examples
Last updated