Initialize a plotit object
Usage
plotit(
data,
mapping = encode(),
autofit = FALSE,
width = 7,
height = 5,
size_unit = "in",
dodge = NULL,
default_color = "#4E79A7"
)Arguments
- data
A data frame.
- mapping
An object created by
encode().- autofit
Logical; if
TRUE, plot dimensions are determined automatically.- width, height
Numeric; default width and height (ignored if
autofit = TRUE).- size_unit
Unit for width/height:
"in","cm","mm".- dodge
Numeric; global default dodge width. If
NULL, heuristically set.- default_color
Single color string. Applied as default color mapping if no color/fill aesthetic is present in
mapping. Adding anyscale_color()orscale_fill()later will automatically disable this single-color mapping.

