Last data update: 2014.03.03

R: Inverse hyperbolic sine transformation.
asinhtGml2_transR Documentation

Inverse hyperbolic sine transformation.

Description

Used to construct inverse hyperbolic sine transform object.

Usage

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

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

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(flowWorkspace)
Loading required package: flowCore
Loading required package: flowViz
Loading required package: lattice
Loading required package: ncdfFlow
Loading required package: RcppArmadillo
Loading required package: BH
Loading required package: gridExtra
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/flowWorkspace/asinhtGml2_trans.Rd_%03d_medium.png", width=480, height=480)
> ### Name: asinhtGml2_trans
> ### Title: Inverse hyperbolic sine transformation.
> ### Aliases: asinhtGml2_trans
> 
> ### ** 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
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>