hc_scatter: Create scatter plot

Description Usage Arguments Value

Description

Create a scatter plot using highcharter

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
hc_scatter(
  hc,
  x,
  y,
  z = NULL,
  label = NULL,
  showInLegend = FALSE,
  color = NULL,
  ...
)

Arguments

hc

Highchart object

x

Numeric: X axis

y

Numeric: Y axis

z

Numeric: Z axis to set the bubble size (optional)

label

Character: data label for each point (optional)

showInLegend

Boolean: show the data in the legend box?

color

Character: series colour

...

Arguments passed on to highcharter::hc_add_series

Value

highcharter object containing information for a scatter plot


psichomics documentation built on Nov. 8, 2020, 5:44 p.m.