create_barplot: Create Bar Plot

Description Usage Arguments Details Value Examples

View source: R/general_barplot.R

Description

This method acts as a wrapper around the ggplot2::ggplot.

Usage

1
create_barplot(data, col_name)

Arguments

data

vector with the data of the column col_name.

col_name

character string with the name of the column/feature for which the bar plot is created.

Details

This method creates a ggplot2::ggplot for the provided data. The plotting function is preconfigured to create a bar plot with ggplot2::theme_light and vertically aligned characteristics on the x-axis (so that all can be displayed).

Value

ggplot2 bar plot for the feature col.name and data data.

Examples

1
 KaggleHouse:::create_barplot(data_train$MSZoning, "MS Zoning")

MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.