plot.eff.disc {simIReff}R Documentation

Plotting tools for Discrete effectiveness distributions

Description

Plot the density, distribution and quantile functions of a discrete effectiveness distribution.

Usage

## S3 method for class 'eff.disc'
dplot(x, ..., plot.data = TRUE, xlab = "x",
  ylab = "f(x)", main = "mass")

## S3 method for class 'eff.disc'
pplot(x, ..., plot.data = TRUE, xlab = "q",
  ylab = "F(q)", main = "distribution")

## S3 method for class 'eff.disc'
qplot(x, ..., plot.data = TRUE, xlab = "p",
  ylab = expression(F^-1 * (p)), main = "quantile")

Arguments

x

the effectiveness distribution to plot.

...

arguments to be passed to lines.

plot.data

logical: whether to plot the data used to fit the distribution, if any.

xlab

the title for the x axis.

ylab

the title for the y axis.

main

the overall title for the plot.

See Also

plot.eff.cont for continuous distributions.


[Package simIReff version 1.0 Index]