mirror of
https://github.com/msberends/AMR.git
synced 2025-07-10 00:23:03 +02:00
expert rules 12.0
This commit is contained in:
@ -50,7 +50,7 @@ skewness <- function(x, na.rm = FALSE) {
|
||||
skewness.default <- function(x, na.rm = FALSE) {
|
||||
meet_criteria(na.rm, allow_class = "logical", has_length = 1)
|
||||
x <- as.vector(x)
|
||||
if (na.rm == TRUE) {
|
||||
if (isTRUE(na.rm)) {
|
||||
x <- x[!is.na(x)]
|
||||
}
|
||||
n <- length(x)
|
||||
|
Reference in New Issue
Block a user