The only difference from logicle_trans is it is scaled to c(0,1) range.

logicleGml2_trans(
  T = 262144,
  M = 4.5,
  W = 0.5,
  A = 0,
  n = 6,
  equal.space = FALSE
)

Arguments

T, M, W, A

see logicletGml2

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

a logicleGml2 transformation object

Examples

trans.obj <- logicleGml2_trans(equal.space = TRUE) data <- 1:1e3 brks.func <- trans.obj[["breaks"]] brks <- brks.func(data) brks # logicle space displayed at raw data scale
#> [1] -110.87459 85.05563 596.67141 4248.89293 33093.15049 #> [6] 262144.00000
#transform it to verify the equal-spaced breaks at transformed scale print(trans.obj[["transform"]](brks))
#> [1] 0.0 0.2 0.4 0.6 0.8 1.0