Description Usage Arguments Details Value Author(s)
Estimates densities for two sets of sighting times and then returns both the overlap and difference within a specified window.
1 | overlapEstWindow(A, B, t0 = 0, t1 = 24, adjust = 0.8, kmax = 3)
|
A, B |
Numeric vectors of sighting times in [0,2pi] |
t0, t1 |
The window over which to estimate the overlap and excess stats |
adjust, kmax |
See |
This functions uses tgetBandwidth
and
densityFit
to estimate density functions for the
times provided as A
and B
. The various overlap estimates
described in overlapEst
are forgone in favor of
adaptive quadrature using integrate
. The arguments
t0
and t1
are transformed to radian cscale and then
used as the limits of integration, wrapped when appropriate.
A list containing:
The area under the minimum of the two densities within
the window requested using t0
and t1
.
Contains the area between the density curves within the window. If the functions cross within the window, this is the net difference. Differences are for f_A less f_B.
The requested interval.
James Henderson based on work by Mike Meredith and Martin Rideout.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.