Learn R Programming

simIReff (version 1.0)

plot.eff.cont: Plotting tools for Continuous effectiveness distributions

Description

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

Usage

# S3 method for eff.cont
dplot(x, ..., plot.data = TRUE, subdivisions = 200,
  xlab = "x", ylab = "f(x)", main = "density")

# S3 method for eff.cont pplot(x, ..., plot.data = TRUE, subdivisions = 200, xlab = "q", ylab = "F(q)", main = "distribution")

# S3 method for eff.cont qplot(x, ..., plot.data = TRUE, subdivisions = 200, 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.

subdivisions

number of equidistant points at which to evaluate the distribution to plot.

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.disc for discrete distributions.