Scaling: Scaling

ScalingR Documentation

Scaling

Description

Helper enum of predefined transformations of axes Note that the transformations will be translated internally into ggplot2 transformations. ggplot2 includes more transformations than what is available in this enum.

Usage

Scaling

Format

An object of class list of length 9.

See Also

Other enum helpers: AestheticFields, AestheticProperties, AestheticSelectionKeys, Alignments, AtomPlots, ColorMaps, ColorPalettes, DataMappings, DefaultDataMappingValues, Directions, ExportFormats, ExportUnits, FontFaces, HorizontalJustification, LegendPositions, LegendTypes, Linetypes, MoleculePlots, PlotAnnotationTextSize, PlotConfigurations, Shapes, TagPositions, TickLabelTransforms, VerticalJustification, tlfSettingsNames, tlfStatFunctions

Examples

# Continuous linear/identity scale
Scaling$identity
Scaling$lin

# Continuous log10 scale
Scaling$log

# Continuous natural logarithm (ln) scale (base is *e*)
Scaling$ln

# Discrete scale for categrical data such as boxplot and tornado plot data
Scaling$discrete

# Reverse continuous linear scale to switch end and beginning of linear scale
Scaling$reverse

# Continusous square root scale
Scaling$sqrt

# Time scale for POSIXlt or POSIXct data
Scaling$time

# Date scale for POSIXlt or POSIXct data
Scaling$date


Open-Systems-Pharmacology/TLF-Library documentation built on Feb. 8, 2025, 11:22 a.m.