Description Usage Arguments Value See Also Examples
Find the numerical variable that contains outliers in the object that inherits the data.frame or data.frame.
1 | find_outliers(.data, index = TRUE, rate = FALSE)
|
.data |
a data.frame or a |
index |
logical. When representing the information of a variable including outliers, specify whether or not the variable is represented by an index. Returns an index if TRUE or a variable names if FALSE. |
rate |
logical. If TRUE, returns the percentage of outliers in the individual variable. |
Information on variables including outliers.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
find_outliers(heartfailure)
find_outliers(heartfailure, index = FALSE)
find_outliers(heartfailure, rate = TRUE)
## using dplyr -------------------------------------
library(dplyr)
# Perform simple data quality diagnosis of variables with outliers.
heartfailure %>%
select(find_outliers(.)) %>%
diagnose()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.