View source: R/DroppingInterval.R

plot.intRvals | R Documentation |

Plot an interval histogram and fit of intRvals object

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

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

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.