createColumn: Create a Column Chart Using Highcharter

View source: R/createColumn.R

createColumnR Documentation

Create a Column Chart Using Highcharter

Description

This function creates a column chart using highcharter.

Usage

createColumn(seriesName, categories, title, subTitle)

Arguments

seriesName

This is the series that will be the data basis of the graph.

categories

These are the names for each category.

title

This is the title of the chart

subTitle

This is the subtitle of the chart

Examples

library(dplyr)
dat2 <- prepSeries(mtcars,"cyl","am","mpg") %>% mutate(am = ifelse(am == 1,"Automatic","Manual"))
datSeries <- changeToSeries(dat2,"am")
createColumn(datSeries,unique(dat2$cyl),"Fuel Efficiency","Miles per Gallon by Transmission and Cylinders")

jsdeherrera/shinyBoots documentation built on March 9, 2024, 3:03 a.m.