Description Usage Arguments Format
View source: R/scale-product.R
Determining scales for mosaics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 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
|
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 |
An object of class ScaleContinuousProduct (inherits from ScaleContinuousPosition, ScaleContinuous, Scale, ggproto, gg) of length 5.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.