A transformation mapping numbers to a signed logarithmic scale with a smooth transition to linear scale around 0.

pseudo_log_trans(sigma = 1, base = exp(1))

Arguments

sigma

scaling factor for the linear part

base

approximate logarithm base used

Examples

plot(pseudo_log_trans(base = 2), xlim = c(0, 1))
plot(pseudo_log_trans(base = 2), xlim = c(0, 10))