hc_scatter {psichomics}R Documentation

Create scatter plot

Description

Create a scatter plot using highcharter

Usage

hc_scatter(hc, x, y, z = NULL, label = NULL, showInLegend = FALSE,
  ...)

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? FALSE by default

...

Arguments passed on to highcharter::hc_add_series

Value

highcharter object containing information for a scatter plot


[Package psichomics version 1.10.2 Index]