plot.intRvals: Plot an interval histogram and fit of intRvals object

Description Usage Arguments Value Examples

Description

Plot an interval histogram and fit of intRvals object

Usage

1
2
3
4
## S3 method for class 'intRvals'
plot(x, binsize = 20, xlab = "Interval",
  ylab = "Density", main = "Interval histogram and fit", line.col = "red",
  line.lwd = 1, ...)

Arguments

x

An intRvals class object

binsize

Width of the histogram bins

xlab

a title for the x axis

ylab

a title for the y axis

main

an overall title for the plot

line.col

Color of the plotted curve for the model fit

line.lwd

Line width of the plotted curve for the model fit

...

Additional arguments to be passed to the low level hist plotting function

Value

This function returns a list with data, corresponding to the model fit

Examples

1
2
3
4
data(goosedrop)
dr=estinterval(goosedrop$interval)
plot(dr)
plot(dr,binsize=10,line.col='blue')

adokter/intRval documentation built on May 10, 2019, 5:58 a.m.