mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 09:50:51 +01:00
expert rules 12.0
This commit is contained in:
1 parent
7ca44fb756
commit
f6862a139d
35 files changed
+433
-128
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ kurtosis.default <- function(x, na.rm = FALSE, excess = FALSE) {
|
||||
meet_criteria(na.rm, allow_class = "logical", has_length = 1)
|
||||
meet_criteria(excess, 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