scale_x_productlist {ggmosaic} | R Documentation |
Determining scales for mosaics
Description
Determining scales for mosaics
Usage
scale_x_productlist(
name = ggplot2::waiver(),
breaks = product_breaks(),
minor_breaks = NULL,
labels = product_labels(),
limits = NULL,
expand = ggplot2::waiver(),
oob = scales:::censor,
na.value = NA_real_,
trans = "identity",
position = "bottom",
sec.axis = ggplot2::waiver()
)
scale_y_productlist(
name = ggplot2::waiver(),
breaks = product_breaks(),
minor_breaks = NULL,
labels = product_labels(),
limits = NULL,
expand = ggplot2::waiver(),
oob = scales:::censor,
na.value = NA_real_,
trans = "identity",
position = "left",
sec.axis = ggplot2::waiver()
)
ScaleContinuousProduct
Arguments
name |
set to pseudo waiver function |
breaks |
One of:
|
minor_breaks |
One of:
|
labels |
One of:
|
limits |
One of:
|
expand |
For position scales, a vector of range expansion constants used to add some
padding around the data to ensure that they are placed some distance
away from the axes. Use the convenience function |
oob |
One of:
|
na.value |
Missing values will be replaced with this value. |
trans |
For continuous scales, the name of a transformation object or the object itself. Built-in transformations include "asn", "atanh", "boxcox", "date", "exp", "hms", "identity", "log", "log10", "log1p", "log2", "logit", "modulus", "probability", "probit", "pseudo_log", "reciprocal", "reverse", "sqrt" and "time". A transformation object bundles together a transform, its inverse,
and methods for generating breaks and labels. Transformation objects
are defined in the scales package, and are called |
position |
For position scales, The position of the axis.
|
sec.axis |
specify a secondary axis |
Format
An object of class ScaleContinuousProduct
(inherits from ScaleContinuousPosition
, ScaleContinuous
, Scale
, ggproto
, gg
) of length 5.