scattergl: Scatter Plot data file

Description Usage Arguments Value

View source: R/scatter.R

Description

This function returns the name of a json file containing plot-ready data with one row per group (per panel). Columns 'series.x' and 'series.y' contain the raw data for the scatter plot. Column 'group' and 'panel' specify the group the series data belongs to. Optionally, columns 'interval.x', 'interval.y' and 'interval.se' specify the x, y and standard error respectively of the smoothed conditional mean for the group. Columns 'density.x' and 'density.y' contain the calculated kernel density estimates.

Usage

1
scattergl(data, map, value = c("smoothedMean", "density", "raw"))

Arguments

data

data.frame to make plot-ready data for

map

data.frame with at least two columns (id, plotRef) indicating a variable sourceId and its position in the plot

value

character indicating whether to calculate 'smoothedMean' or 'density' estimates

Value

character name of json file containing plot-ready data


d-callan/plot.data documentation built on Jan. 27, 2021, 8:37 a.m.