cubic_root_trans.Rd
A scales transformation to be used with ggplot2.
cubic_root_trans()
A scale transformation object of name "cubic_root"
This function is exported because we are using it in vignettes, but it may become unavailable in future versions
library(ggplot2)
x <- 1:10
y <- x^3
df <- data.frame(x = x, y = y)
ggplot(data.frame(x=x, y=y)) +
geom_point(aes(x = x, y = y)) +
scale_y_continuous(trans=cubic_root_trans())