mirror of
https://github.com/msberends/AMR.git
synced 2025-07-12 02:22:08 +02:00
(v1.4.0.9052) replaced all sapply's with type-safe vapply's
This commit is contained in:
@ -66,5 +66,5 @@ skewness.matrix <- function(x, na.rm = FALSE) {
|
||||
#' @export
|
||||
skewness.data.frame <- function(x, na.rm = FALSE) {
|
||||
meet_criteria(na.rm, allow_class = "logical", has_length = 1)
|
||||
sapply(x, skewness.default, na.rm = na.rm)
|
||||
vapply(FUN.VALUE = double(1), x, skewness.default, na.rm = na.rm)
|
||||
}
|
||||
|
Reference in New Issue
Block a user