Get ticklabels expressions for percentiles of normal distribution scale plots
Usage
getPercentileTickLabels(ticks)
Arguments
- ticks
numeric values of the ticks
Value
Expressions to use in ticklabels input parameter of setXAxis and setYAxis functions
Examples
ticks <- rnorm(5)
getPercentileTickLabels(ticks)
#> [1] "30.756%" "6.043%" "71.413%" "36.606%" "52.372%"
# Get percentile of normal distribution
ticks <- qnorm(seq(1, 9) / 10)
getPercentileTickLabels(ticks)
#> [1] "10%" "20%" "30%" "40%" "50%" "60%" "70%" "80%" "90%"