R/scale_loglog.R

Defines functions scale_loglog

Documented in scale_loglog

#' Scientific log-log scale
#'
#' Creates a nice log 10 scale for plots (goes with scales package and ggplot2).
#'
#' @examples ggplot(dat, aes(...)) + scale_loglog()
#' @export

scale_loglog <- function(...) {
    list(scale_x_log10nice(...),scale_y_log10nice(...))
}
ctriandafillou/cat.extras documentation built on Aug. 27, 2020, 11:04 p.m.