fourth_root_power_trans | R Documentation |
Fourth root scale transformation for ggplot
fourth_root_power_trans()
https://andrewgelman.com/2007/01/02/the_14power_tra/
ggplot2::ggplot(mtcars) +
ggplot2::geom_point(ggplot2::aes(x = wt, colour = mpg, y = factor(gear))) +
ggplot2::scale_colour_viridis_c(trans = "fourth_root_power")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.