makePanels: Make Plot Panels

Description Usage Arguments Value

View source: R/utils.R

Description

This function returns a list where the first entry is a data.table with one column representing a list of plot panels and the second entry is the name of the column specifying the plot panels.

Usage

1
makePanels(data, facet1 = NULL, facet2 = NULL)

Arguments

data

data.table to make plot panels for

facet1

name of a column in data to find interaction for

facet2

name of a column in data to find interaction for

Value

list of length 2: list(data, panel)


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