Used to construct inverse hyperbolic sine transform object.

asinhtGml2_trans(..., n = 6, equal.space = FALSE)

Arguments

...

parameters passed to asinh_Gml2

n

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

equal.space

whether breaks at equal-spaced intervals

Value

asinhtGml2 transformation object

Examples

trans.obj <- asinhtGml2_trans(equal.space = TRUE) data <- 1:1e3 brks.func <- trans.obj[["breaks"]] brks <- brks.func(data) brks # fasinh space displayed at raw data scale
#> [1] 0.00000 64.80398 522.91466 4154.68587 33001.97227 #> [6] 262144.00000
#transform it to verify it is equal-spaced at transformed scale trans.func <- trans.obj[["transform"]] brks.trans <- trans.func(brks) brks.trans
#> [1] 0.0 0.2 0.4 0.6 0.8 1.0