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