Transforms numeric data to match any axis scaling (support function).
transData(data, logT = FALSE, revT = FALSE, trans = as.vector,
transarg = NULL)
data for axis
logical, if TRUE
, then log transform data
logical, if TRUE
, then reverse data
to match the axis.
arbitrary transform function to apply to data
.
list of arguments to trans
.
A vector like data
transformed to plot correctly on an axis.
Added from smwrGraphs.