Skip to content

Commit 60616ac

Browse files
committed
There is
Fixes #802
1 parent f1b816c commit 60616ac

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Authors@R:
66
c(person(given = "Daniel",
77
family = "Lüdecke",
88
role = c("aut", "cre"),
9-
email = "d.luedecke@uke.de",
9+
email = "officialeasystats@gmail.com",
1010
comment = c(ORCID = "0000-0002-8895-3206")),
1111
person(given = "Dominique",
1212
family = "Makowski",

R/check_outliers.R

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -303,17 +303,16 @@
303303
#' data <- mtcars # Size nrow(data) = 32
304304
#'
305305
#' # For single variables ------------------------------------------------------
306-
#' outliers_list <- check_outliers(data$mpg) # Find outliers
306+
#' # Find all observations beyond +/- 2 SD
307+
#' outliers_list <- check_outliers(data$mpg, method = "zscore", threshold = 2)
307308
#' outliers_list # Show the row index of the outliers
308309
#' as.numeric(outliers_list) # The object is a binary vector...
309310
#' filtered_data <- data[!outliers_list, ] # And can be used to filter a data frame
310-
#' nrow(filtered_data) # New size, 28 (4 outliers removed)
311+
#' nrow(filtered_data) # New size, 30 (2 outliers removed)
311312
#'
312-
#' # Find all observations beyond +/- 2 SD
313-
#' check_outliers(data$mpg, method = "zscore", threshold = 2)
314313
#'
315314
#' # For dataframes ------------------------------------------------------
316-
#' check_outliers(data) # It works the same way on data frames
315+
#' check_outliers(data, threshold = 2) # It works the same way on data frames
317316
#'
318317
#' # You can also use multiple methods at once
319318
#' outliers_list <- check_outliers(data, method = c(

man/check_outliers.Rd

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/performance-package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)