Man pages for scales
Scale Functions for Visualization

alphaModify colour transparency
area_palArea palettes (continuous)
asn_transArc-sin square root transformation
atanh_transArc-tangent transformation
boxcox_transBox-Cox & modulus transformations
breaks_extendedAutomatic breaks for numeric axes
breaks_logBreaks for log axes
breaks_prettyPretty breaks for date/times
breaks_widthEqually spaced breaks
brewer_palColour Brewer palette (discrete)
cbreaksCompute breaks for continuous scale
col2hclModify standard R colour in hcl colour space.
col_numericColour mapping
colour_rampFast colour interpolation
date_breaksRegularly spaced dates
date_transTransformation for dates (class Date)
demo_continuousDemonstrate scales functions with ggplot2 code
div_gradient_palDiverging colour gradient (continuous).
dscaleDiscrete scale
expand_rangeExpand a range with a multiplicative or additive constant
exp_transExponential transformation (inverse of log transformation)
format_formatLabel using 'format()'
fullseqGenerate sequence of fixed size intervals covering range.
gradient_n_palArbitrary colour gradient palette (continuous)
grey_palGrey scale palette (discrete)
hms_transTransformation for times (class hms)
hue_palHue palette (discrete)
identity_palIdentity palette
identity_transIdentity transformation (do nothing)
label_bytesLabel bytes (1 kb, 2 MB, etc)
label_dateLabel date/times
label_dollarLabel currencies ($100, $2.50, etc)
label_numberLabel numbers in decimal format (e.g. 0.12, 1,234)
label_number_autoLabel numbers, avoiding scientific notation where possible
label_number_siLabel numbers with SI prefixes (2k, 1M, 5T etc)
label_ordinalLabel ordinal numbers (1st, 2nd, 3rd, etc)
label_parseLabel with mathematical annotations
label_percentLabel percentages (2.5%, 50%, etc)
label_pvalueLabel p-values (e.g. <0.001, 0.25, p >= 0.99)
label_scientificLabel numbers with scientific notation (e.g. 1e05, 1.5e-02)
label_wrapLabel strings by wrapping across multiple lines
linetype_palLine type palette (discrete)
log_transLog transformations
manual_palManual palette (discrete)
minor_breaks_widthMinor breaks
mutedMute standard colour
numberA low-level numeric formatter
number_bytes_formatOlder interface to 'label_bytes()'
oobOut of bounds handling
probability_transProbability transformation
RangeMutable ranges
reciprocal_transReciprocal transformation
regular_minor_breaksMinor 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 perform rescaling
rescale_palRescale palette (continuous)
reverse_transReverse transformation
scales-packagescales: Scale Functions for Visualization
seq_gradient_palSequential colour gradient palette (continuous)
shape_palShape palette (discrete)
show_colShow colours
sqrt_transSquare-root transformation
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_formatUnit labels
viridis_palViridis palette
yj_transYeo-Johnson transformation
zero_rangeDetermine if range of vector is close to zero, with a...
scales documentation built on July 1, 2020, 10:21 p.m.