hgch_bar_Cat: Bar chart for a categorical variable

View source: R/00_bar.R

hgch_bar_CatR Documentation

Bar chart for a categorical variable

Description

This function creates a horizontal or vertical bar chart for a categorical variable.

Usage

hgch_bar_Cat(data, ...)

Arguments

data

a data frame.

...

additional arguments to pass to the hgch_bar function.

Value

A highchart object.

Examples

data(iris)
iris <- iris |> dplyr::select(Species)
hgch_bar_Cat(iris, percentage = TRUE)

randommonkey/hgchmagic documentation built on Aug. 23, 2023, 5:56 a.m.