Man pages for scales
Scale Functions for Visualization

abs_areaPoint area palette (continuous), with area proportional to...
alphaModify colour transparency. Vectorised in both colour and...
area_palPoint area palette (continuous).
asn_transArc-sin square root transformation.
as.transConvert character string to transformer.
atanh_transArc-tangent transformation.
boxcox_transBox-Cox power transformation.
brewer_palColor Brewer palette (discrete).
cbreaksCompute breaks for continuous scale.
censorCensor any values outside of range.
col2hclModify standard R colour in hcl colour space.
col_numericColor mapping
colour_rampFast color interpolation
comma_formatComma formatter: format number with commas separating...
date_breaksRegularly spaced dates.
date_formatFormatted dates.
date_transTransformation for dates (class Date).
discardDiscard any values outside of range.
div_gradient_palDiverging colour gradient (continous).
dollar_formatCurrency formatter: round to nearest cent and display dollar...
dscaleDiscrete scale.
expand_rangeExpand a range with a multiplicative or additive constant.
exp_transExponential transformation (inverse of log transformation).
extended_breaksExtended breaks. Uses Wilkinson's extended breaks algorithm...
format_formatFormat with using any arguments to 'format'.
fullseqGenerate sequence of fixed size intervals covering range.
gradient_n_palArbitrary colour gradient palette (continous).
grey_palGrey scale palette (discrete).
hms_transTransformation for times (class hms).
hue_palHue palette (discrete).
identity_palIdentity palette.
identity_transIdentity transformation (do nothing).
linetype_palLine type palette (discrete).
log1p_transLog plus one transformation.
log_breaksLog breaks (integer breaks on log-transformed scales).
log_transLog transformation.
manual_palManual palette (manual).
math_formatAdd arbitrary expression to a label. The symbol that will be...
mutedMute standard colour.
ordinal_formatOrdinal formatter: add ordinal suffixes (-st, -nd, -rd, -th)...
package-scalesGeneric plot scaling methods
parse_formatParse a text label to produce expressions for plotmath.
percent_formatPercent formatter: multiply by one hundred and display...
pretty_breaksPretty breaks. Uses default R break algorithm as implemented...
probability_transProbability transformation.
RangeMutable ranges.
reciprocal_transReciprocal transformation.
regular_minor_breaksMinor breaks Places minor breaks between major breaks.
rescaleRescale continuous vector to have specified minimum and...
rescale_maxRescale numeric vector to have specified maximum.
rescale_midRescale vector to have specified minimum, midpoint, and...
rescale_noneDon't peform rescaling
rescale_palRescale palette (continuous).
reverse_transReverse transformation.
scientific_formatScientific formatter.
seq_gradient_palSequential colour gradient palette (continous).
shape_palShape palette (discrete).
show_colShow colours.
sqrt_transSquare-root transformation.
squishSquish values into range.
squish_infiniteSquish infinite values to range.
time_transTransformation for date-times (class POSIXt).
train_continuousTrain (update) a continuous scale
train_discreteTrain (update) a discrete scale
trans_breaksPretty breaks on transformed scale.
trans_formatFormat labels after transformation.
trans_rangeCompute range of transformed values.
unit_formatAdd units to the labels
viridis_palViridis palette
wrap_formatWrap text to a specified width, adding newlines for spaces if...
zero_rangeDetermine if range of vector is close to zero, with a...
scales documentation built on Aug. 24, 2017, 5:22 p.m.