PercentAxis: Percentage-labeled axis.

View source: R/PercentAxis.R

PercentAxisR Documentation

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(s)

Thomas Alexander Gerds

See Also

plot.prodlim

Examples


  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))


prodlim documentation built on June 24, 2024, 5:08 p.m.