map-scatter-plot: Scatter plot.

Description Usage Arguments

Description

scatter_plot creates a scatter plot using the specified library, which can be used in the library's %>% workflow. Data must be provided in long format.

hc_scatter_plot should not be used directly, it generates a scatter plot using highcharter.

plotly_scatter_plot should not be used directly, it generates a scatter plot using highcharter.

Usage

1
2
3
4
5
6
7
scatter_plot(data = NA, library = "highcharter", x.column = ~x,
  y.column = ~y, color.column = ~color, marker.size = 5, traces.column,
  fillOpacity = 0.66)

hc_scatter_plot(...)

plotly_scatter_plot(...)

Arguments

data

A dataframe, must be long-formatted.

library

Which library to use, highchart is default.

x.column

Column containing x-coordinates for data points, default to x

y.column

Column containing y-cordinates for data points, default to y

color.column

Column containing trace colour, default to color

marker.size

Size of markers (circles, by default)

traces.column

Column containing the traces/trace names, no default

fillOpacity

Opacity of markers, default 0.66

...

all arguments provided to scatter_plot.

...

all arguments provided to scatter_plot.


martinjhnhadley/oidnChaRts documentation built on May 21, 2019, 12:38 p.m.