plot_tiles: Tile plot

View source: R/r_squared_vis.R

plot_tilesR Documentation

Tile plot

Description

This is an internal function.

Usage

plot_tiles(
  p,
  percents,
  xmin,
  ymin,
  xmax,
  ymax,
  rev = FALSE,
  colors = vs_palette_qual[seq_len(length(percents))],
  alpha = 0.5
)

Arguments

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).


jbryer/VisualStats documentation built on Feb. 27, 2025, 6:19 p.m.