score:1
Accepted answer
You can use the following code
library(dplyr)
library(highcharter)
data(pokemon)
dat <- data_to_boxplot(pokemon, height)
highchart() %>%
hc_xAxis(type = "category") %>%
hc_add_series_list(dat)
dat <- data_to_boxplot(pokemon, height, type_1, name = "height in meters")
my_data <- pokemon %>%
group_by(type_1) %>%
summarise(Mean = mean(height))
highchart() %>%
hc_xAxis(type = "category") %>%
hc_add_series_list(dat) %>%
hc_add_series(name = "Mean",
data = my_data,
type = "scatter",
hcaes(x = "type_1", y = "my_data$Mean")
)
Source: stackoverflow.com
Related Query
- How to add mean line in a boxplot made with highcharter?
- How to add mean in a boxplot made with highcharter?
- Add onclick event on chart made with the highcharts library
- How to build an Organization Chart with highcharter
- Highstock - How to add multiple series with JSON-Array
- How to add data labels for a treemap in highcharter in r?
- How do i add mouse wheel code in Angular2 highcharts in typescript
- Customize colors for boxplot with highcharter
- How can i add element with attributes to SVG using jquery
- R - Highcharter how to add horizontal dashed line?
- Highcharts add a Mean line to BoxPlot chart
- How to add vertical lines to graph with HighStocks or HighCharts?
- How to add one more value against at the end of each bar with a legend
- How to adjust transparency of inactive series in highcharter with R
- How to add value of y-axis under the x-axis labels in highchart with given dataset
- How to add percent symbol with data inside column in highchart?
- How to add custom CSS to the highcharts.js anchor <a> tags with links
- How to make highcharts boxplot with drilldown?
- How to add plotline on highcharts with angle?
- Extended Highcharts Boxplot to include mean line - how to remove extra line on resize?
- How to add Highcharts series automatically with a 2D-array?
- How to have multiple highcharts with different series data in vuejs without repeating code
- How do I add a trendline with categories to HighCharts?
- Add Annotations to time series with highcharter
- Mean Markers in Boxplot with multiple series
- HighChart boxplot with mean line
- How to add another same chart but with different data?
- how to add percentage sign along with int value in graph in java script
- HighCharts.js: How to Create a Boxplot with stems representing confidence intervals, NOT max/min?
- How to use a reactive list with reactive dataframe and R Highcharter in Shiny App
More Query from same tag
- Locating the legend in Release Burndown Chart Code
- Highcharts columns with index on each column bottom
- Chart Title overlapping on chart
- implementing HighCharts-xrange in angular4
- Highcharts polar display custom label name or icons
- High charts queue chart updates after ajax with multiple charts in firefox
- Highcharts dataGrouping approximation column point color based on column value?
- How do I select which columns from my CSV to chart with HighChart?
- highcharts tooltip formatter: how to access adjacent points
- Align date ticks on x axis
- how to display total count of all the bar values at the top- Highcharts colum- react highhcharts
- How to customize each column in Highcharts stacked column
- Advanced LINQ Grouping and Projection Query for Hierarchical Data (EF 4.0 + LINQ + ASP.NET MVC + HighCharts)
- Data labels are repeated in IE
- Using chart.update on a chart using renderTo
- add scatter points on line chart, Highcharts
- High Charts - dynamically place elements within tooltip
- Adding Highchartsevent after creation
- Highcharts: Highmaps - Choropleth maps - All states are the same color
- Adding tooltip to legend in highcharts
- High chart yAxis error
- Formatting JSON for highchart
- Add custom images in highstock series
- can't get data-labels in highcharts-export-server on live server
- highcharts on top of google map
- HighCharts : Polar chart not stretched in its frame
- How do I enlarge the pie chart and shift to the center
- How to show javascript id data into piechart (Highchart.js)?
- Highcharts polar chart wind rose data from JSON
- Highcharts Column Group Highlight Dynamically