helper function to generate a trans objects Used by other specific trans constructor

flow_trans(name, trans.fun, inverse.fun, equal.space = FALSE, n = 6)

Arguments

name

transformation name

trans.fun

the transform function (only needed when equal.space is TRUE)

inverse.fun

the inverse function (only needed when equal.space is TRUE)

equal.space

whether breaks at equal-spaced intervals

n

desired number of breaks (the actual number will be different depending on the data range)