asinhtGml2_trans: Inverse hyperbolic sine transformation.

Description Usage Arguments Value Examples

View source: R/flow_trans.R

Description

Used to construct inverse hyperbolic sine transform object.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

#transform it to verify it is equal-spaced at transformed scale
trans.func <- trans.obj[["transform"]]
brks.trans <- trans.func(brks)
brks.trans

flowWorkspace documentation built on Nov. 8, 2020, 8:08 p.m.