createHeatmap: Create a Heatmap Using Highcharter

View source: R/createHeatmap.R

createHeatmapR Documentation

Create a Heatmap Using Highcharter

Description

This function creates a heatmap using highcharter.

Usage

createHeatmap(data, xText, yText, valueText, title, subTitle, xTitle, yTitle)

Arguments

data

This is the data source for the heatmap.

xText

This is the column name in the data of the x values in the heatmap.

yText

This is the column name in the data of the y values in the heatmap.

valueText

This is the column name in the data of the data values in the heatmap.

title

This is the title of the heatmap.

subTitle

This is the subtitle of the heatmap.

xTitle

This is the title of the x axis.

yTitle

This is the title of the y axis.

Examples

output$heatmap <- highcharter::renderHighchart({
hc <- createHeatmap(dat,"dayOfWeek","hourOfDay","Value",
  "Heatmap of Marginal Trips by Hour and Day",
  "Heatmap values represent the marginal trips from one additional driver hour or rider session","Day of Week","Hour of the Day")
})

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