plot.Idist {EpiLPS}R Documentation

Plot the interval distribution from an Idist object

Description

This routine plots the interval distribution based on an Idist object.

Usage

## S3 method for class 'Idist'
plot(x, barcol = "firebrick", denscol = "pink", denstransparent = 0.5,
 barwidth = 0.30, title = NULL, themetype = c("gray","classic","light","dark"),
 titlesize = 15, xtitlesize = 13, ytitlesize = 13, ...)

Arguments

x

An object of class Idist.

barcol

Color of the discretized interval distribution.

denscol

Color of the probability density function (pdf).

denstransparent

The transparency of the pdf.

barwidth

Width of the bars for the discrete distribution.

title

Title of the plot.

themetype

Theme of the plot.

titlesize

Size of the plot title. Default is 15.

xtitlesize

Size of title and text on x axis. Default is 13.

ytitlesize

Size of title and text on y axis. Default is 13.

...

Further arguments to be passed to plot.

Value

A plot of the interval distribution.

Author(s)

Oswaldo Gressani oswaldo_gressani@hotmail.fr

Examples

x <- Idist(mean = 3, sd = 1.6, dist = "weibull")
plot(x)


[Package EpiLPS version 1.3.0 Index]