visualization_tool_function: Visualization tool for number of complaints by any category.

Description Usage Arguments Details Value Author(s) Examples

View source: R/visualization_tool_function.R

Description

It displays a rotated barplot that features the categorical variables on the y axis, and values for the number of count of complaints on the x axis.

Usage

1
visualization_tool_function(df = sampledf, limit = 10)

Arguments

df

Dataframe (two columns)

limit

Places a limit on the output of the barplot in terms of number of datapoints/ observations

Details

The function can only take the specific dataframes generated by the other functions in this package that has two columns. The first column can feature any categorical labels, while the second column needs to contain values. The function will then take the dataframe and visualize the contents on a tailored barplot.

Value

Barplot with the same labels and values from the original dataframe

Author(s)

Jae Woong Ham

Examples

1

JaeWHam/WorkSample documentation built on Feb. 18, 2020, 12:26 a.m.