View source: R/r_squared_vis.R
plot_tiles | R Documentation |
This is an internal function.
plot_tiles(
p,
percents,
xmin,
ymin,
xmax,
ymax,
rev = FALSE,
colors = vs_palette_qual[seq_len(length(percents))],
alpha = 0.5
)
p |
a ggplot2 expression. |
percents |
percentage of the inner boxes. |
xmin |
x coordinate for the lower left corner. |
ymin |
y coordinate for the lower left corner. |
xmax |
x coordinate for the upper right corner. |
ymax |
y coordinate for the upper right corner. |
rev |
if TRUE drawing starts from the upper right. |
colors |
color of the perimeter of the boxes. |
alpha |
the transparency for the fill color(s). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.