prodlim (version 2023.08.28)

PercentAxis: Percentage-labeled axis.

Description

Use percentages instead of decimals to label the an axis with a probability scale .

Usage

PercentAxis(x, at, ...)

Arguments

x

Side of the axis

at

Positions (decimals) at which to label the axis.

...

Given to axis.

Author

Thomas Alexander Gerds

See Also

plot.prodlim

Examples

Run this code

  plot(0,0,xlim=c(0,1),ylim=c(0,1),axes=FALSE)
  PercentAxis(1,at=seq(0,1,.25))
  PercentAxis(2,at=seq(0,1,.25))

Run the code above in your browser using DataLab