Description Usage Arguments Value See Also Examples
Find the numerical variable that skewed variable that inherits the data.frame or data.frame.
1 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
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()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.