View source: R/createGridForCategories.R
createGridForCategories | R Documentation |
Function to create a tibble tibble describing a rectangular grid defined by two sets of categories.
createGridForCategories(xcats, ycats)
xcats |
|
ycats |
|
The returned tibble will have the following columns:
xc - x-axis category labels (factor levels)
yc - y-axis category labels (factor levels)
id - id (character) for rectangle with center xc,yc [="(xc,yc)"]
x - rectangle corner location (numeric) along x-axis
y - rectangle corner location (numeric) along y-axis
a tibble
. See Details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.