find_skewness | R Documentation |
Find the numerical variable that skewed variable that inherits the data.frame or data.frame.
find_skewness(.data, index = TRUE, value = FALSE, thres = NULL)
.data |
a data.frame or a |
index |
logical. When representing the information of a skewed variable, specify whether or not the variable is represented by an index. Returns an index if TRUE or a variable names if FALSE. |
value |
logical. If TRUE, returns the skewness value in the individual variable. |
thres |
Returns a skewness threshold value that has an absolute skewness greater than thres. The default is NULL to ignore the threshold. but, If value = TRUE, default to 0.5. |
Information on variables including skewness.
find_na
, find_outliers
.
find_skewness(heartfailure)
find_skewness(heartfailure, index = FALSE)
find_skewness(heartfailure, thres = 0.1)
find_skewness(heartfailure, value = TRUE)
find_skewness(heartfailure, value = TRUE, thres = 0.1)
## using dplyr -------------------------------------
library(dplyr)
# Perform simple data quality diagnosis of skewed variables
heartfailure %>%
select(find_skewness(.)) %>%
diagnose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.