sinh_trans: sinh ggplot scale transformation

View source: R/plot_funcs.R

sinh_transR Documentation

sinh ggplot scale transformation

Description

This can be used to do an sinh transformation of a ggplot scale. To do an asinh transformation, use "asinh" instead of "sinh" (see ?asinh_trans).

Usage

sinh_trans()

Examples

library(ggplot2)
ggplot(data.frame(x=1:10,y=1:10), aes(x=x,y=y)) +
    geom_point() +
    scale_y_continuous(trans="sinh")


BIO-RSG/oceancolouR documentation built on Nov. 3, 2024, 2:03 a.m.