sumry_categorical: Summary of categorical variable

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Function gives detailed summary of categorical variable

Usage

1
sumry_categorical(categ_var_test)

Arguments

categ_var_test

categ_var_test: a Dataset that has only categorical (Character) variable

Details

This function does a very good quality check on categorical variables by identifying their different levels and their respective frequency.

Value

It returns Data Frame

Author(s)

Rahul Mehta

References

web.stat.ufl.edu/~presnell/Courses/sta4504-2000sp/R/R-CDA.pdf

See Also

sumry_cont for continous variable

Examples

1
2
3
4
5
6
7
library(descr)
data(iris)
#first identify categorical variable from the dataset using following function
iris[,5]=as.character(iris[,5])
iris[,4]=as.character(iris[,4])
cat_data=ident_cat(iris)
summry_cat=sumry_categorical(cat_data)

RDIDQ documentation built on May 2, 2019, 9:11 a.m.