convert.raven: Create a capture history object from a Raven output file

View source: R/convert.r

convert.ravenR Documentation

Create a capture history object from a Raven output file

Description

Converts a Raven output file to a capture history object suitable for use with the fit.ascr function. This uses make.acoustic.captures to allocate call identities to detections.

Usage

convert.raven(
  dets,
  mics,
  time.range = NULL,
  sound.speed = 330,
  new.allocation = TRUE
)

Arguments

dets

Detection output dataframe from Raven.

mics

A matrix containing the coordinates of microphone locations.

time.range

A vector of length two, providing a range of times for which a subset should be taken to create the capture history.

sound.speed

The speed of sound in metres per second.

new.allocation

Logical, if TRUE, an improved call-allocation method is used. The old version is retained so that older analyses can be replicated.


b-steve/ascr documentation built on Aug. 15, 2022, 2:38 p.m.