Description Usage Arguments Value Functions Examples
View source: R/easy_describe.R
Helper functions to assist with basic data exploration tasks.
1 2 3 4 5 6 7 | easy_describe(DT, cols = NULL, cclass = NULL, FUN = NULL, all = NULL)
split_by_class(DT)
wcolNA(DT)
wrowNA(DT)
|
DT |
A data.table |
cols |
optional arg providing column names to operate on |
cclass |
Not implemented. Useful if desiring to describe all columns of a particular class |
FUN |
NI; provide function to apply over cols (if provided) |
all |
Boolean indicating whether to perform for all columns (default is FALSE). If this is false and optional argument "cols" was also not provided, the default behavior is to perform this for only factor and character column classes in DT |
A descriptive data.table
split_by_class
: A function to split the column names of a data.table into groups specified by class
wcolNA
: Which columns contain all NA values down the rows (all obervations are NA)
wrowNA
: Which rows contain all NA values across the columns
1 2 3 4 5 | library(data.table)
library(easydata)
DT <- as.data.table(iris)
easy_describe(DT)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.