box: Box Plot data file

Description Usage Arguments Value

View source: R/box.R

Description

This function returns the name of a json file containing plot-ready data with one row per group (per panel). Columns 'x', 'min', 'q1', 'median', 'q3' and 'max' represent the pre-computed values per group. Columns 'group' and 'panel' specify the group the data belong to. Optionally, can return columns 'outliers' and 'mean' as well.

Usage

1
box(data, map, points = c("outliers", "all", "none"), mean = FALSE)

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

points

character vector indicating which points to return 'outliers' or 'all'

mean

boolean indicating whether to return mean value per group (per panel)

Value

character name of json file containing plot-ready data


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