|
R package is a wrapper for the ‘Highcharts’ library including shortcut functions to plot R objects.
|
|
Installation
|
|
|
install.packages("highcharter")
|
To install Highcharter
|
|
Load
|
|
|
library(highcharter)
|
Load Highcharter library at the beginning of the code
|
|
Useful functions
|
|
|
highchart()
|
This function creates a Highchart chart using htmlwidgets
|
|
hchart()
|
This function to draw different charts on the fly
|
|
hc_add_series()
|
Adds data to existing objects (useful for discrete graphs like scatter plot)
|
|
hc_chart()
|
Chart options for highcharter objects
|
|
hc_labels()
|
Labels options for highcharter objects
|
|
hc_legend()
|
Legend options for highcharter objects
|
|
hcmap()
|
Shortcut to access the Highcharter map library from https://code.highcharts.com/mapdata/*
|
|
hc_add_theme()
|
To add Predefined themes
|
|
export_hc()
|
Function to export js file the configuration options
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.