Minus log transformation

mlog_trans(base = 10)

Arguments

base

base of logarithm to use

References

https://stat.ethz.ch/pipermail/r-help/2014-April/373728.html and https://gist.github.com/wch/3250485

Examples

require(ggplot2) df <- data.frame(y = runif(1000)) ggplot(df, aes(sample = y)) + stat_qq(distribution = stats::qunif) + scale_y_continuous(trans = "mlog") + scale_x_continuous(trans = "mlog") + geom_abline(intercept = 0, slope = 1)