Learn R Programming

ggfun (version 0.1.8)

geom_scatter_rect: geom_scatter_rect

Description

draw rectangle boxes as scatter points

Usage

geom_scatter_rect(
  mapping = NULL,
  data = NULL,
  asp = 0.6,
  width = 0.8,
  height = NULL,
  ...
)

Arguments

mapping

aesthetic mapping, default is NULL

data

input data, default is NULL

asp

aspect ration of rectangle box (height vs width), only works for height is missing

width

width of the rectangles, default is 0.8

height

height of the rectangles

...

additional parameters passed to 'geom_rect'

Author

Guangchuang Yu