logtGml2_trans {flowWorkspace} | R Documentation |
Used to construct flog transformer object.
logtGml2_trans(M = 4.5, T = 262144, n = 6, equal.space = FALSE)
M |
number of decades |
T |
top scale value |
n |
desired number of breaks (the actual number will be different depending on the data range) |
equal.space |
whether breaks at equal-spaced intervals |
logtGml2 transformation object
trans.obj <- logtGml2_trans(M = 1, T = 1e3, 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