Description Usage Arguments Details Value Examples
A pipe friendly way to get summary stats for exploratory data analysis
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
x |
The data for which stats are required |
func |
The nature of function to apply |
exclude |
What kind of data should be excluded? Use for example c("character","factor") to drop character and factor columns |
na.rm |
Logical. Should NAs be removed. Defaults to FALSE. |
na_action |
If na.rm is set to TRUE, this uses na_replace to replace missing values. |
... |
Other arguments to na_replace See ?na_replace for details. |
A convenient wrapper especially useful for get_mode
A data.frame object showing the requested stats
1 2 | head(get_data_Stats(airquality,mean,na.rm = TRUE,na_action = "get_mode"))
get_stats(airquality,mean,"non_numeric",na.rm = TRUE,na_action = "get_mode")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.