Description Usage Arguments Details Value Examples
Densities are plotted for the entire day, but the overlap or excess are only shown within the requested window.
1 2 3 4 5 | overlapPlotWindow(A, B, t0 = 0, t1 = 24, type = c("both", "overlap",
"excess"), xscale = 24, xcenter = c("noon", "midnight"), extend = NULL,
linetype = c("solid", "solid"), linecol = c("black", "blue"),
linewidth = c(1, 1), overlapcol = "lightblue", excesscol = "lightgrey",
mark.window = T, adjust = 0.8, kmax = 3, n.grid = 1000, ...)
|
A |
Numeric vectors of sighting times in [0,2pi] |
B |
Numeric vectors of sighting times in [0,2pi] |
t0, t1 |
Window times are not scaled internally and should chosen by
the user to reflect |
type |
Character string with |
xscale |
scale for x-axis: default is 24 for time in hours,
|
xcenter |
where to center the x-axis: 'noon' (default) or 'midnight' |
extend |
If not |
linecol |
The colors to use for plotting the densities curves. |
overlapcol, excesscol |
The color(s) to use for plotting the overlap or excess, respectively. |
mark.window |
Logical indicating whether to plot vertical lines at the window boundaries. |
adjust |
See |
kmax |
See |
This function is intended to resemble overlapPlot
from the
overlap package with credit to its author, Mike Meredith.
However, not all functionality from that function has been
put in place here yet – rug plotting reamins to do. Currently does not
handle wrapping of window around edges of plot.
None. Plots to the current device.
1 2 | data(simulatedData)
overlapPlotWindow(tigerObs,pigObs,t0=18,t1=22)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.