easy_describe: Functions to help with pre-data exploration

Description Usage Arguments Value Functions Examples

View source: R/easy_describe.R

Description

Helper functions to assist with basic data exploration tasks.

Usage

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)

Arguments

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

Value

A descriptive data.table

Functions

Examples

1
2
3
4
5
library(data.table)
library(easydata)
DT <- as.data.table(iris)

easy_describe(DT)

bfatemi/easydata documentation built on Oct. 7, 2019, 4:35 p.m.