Description Usage Arguments Details Value
overlapCross
Fits densities to provided data and returns the
locations where they cross.
1 | overlapCross(A, B, adjust = 0.8, kmax = 3, n.grid = 128, scale24 = T)
|
A, B |
Numeric vectors of sighting times in radians, i.e. [0,2pi] |
adjust |
Scaling factor for the bandwidth estimate,
see |
kmax |
Parameter passed to |
n.grid |
The number of grid points used to find rough crossing windows |
scale24 |
Logical, if true roots are multiplied by 12/pi for 24hr scale |
This function is designed for use with relatively smooth densities with only
a few crossings. It first estimates densities using the provided options
and data. It then finds intervals where crossings occur using a grid search
with n.grid
points over [0,2pi] before calling uniroot
to numerically approximate the crossings in each interval using the
difference between densities.
A vector of crossings times on the requested scale.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.