power_trans.Rd
This is a function for nice scale transformations for ggplot2
,
including when pow < 0
.
power_trans(pow, nb)
Exponent of power transformation, scalar.
Number of desired breaks (approximate), scalar.
A scale transformation object for plotting in ggplot.
This function is for power transformations (i.e. raising to a power and inverse) This is useful for visualizing generalized means.