mosaic.dt: Mosaic plot as data.table

Description Usage Arguments Value

View source: R/mosaic.R

Description

This function returns a data.table of plot-ready data with one row per group (per panel). Columns 'x' and 'y' contain the raw data for plotting. Column 'panel' specifies the panel the data belongs to.

Usage

1

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

data.table plot-ready data


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