AR {seewave} | R Documentation |
Acoustic Richness index
Description
This function computes the Acoustic Richness index based on M and Ht indices
Usage
AR(..., datatype = "objects", envt = "hil",
msmooth = NULL, ksmooth = NULL, ssmooth = NULL,
pattern = "[wav]$|[WAV]$|[mp3]$")
Arguments
... |
|
datatype |
A character string to specify if inputs are either |
envt |
the type of envelope to be returned: either |
msmooth |
mean smooth. See |
ksmooth |
kernel smooth via kernel. See |
ssmooth |
sum smooth. See |
pattern |
an optional regular expression. Only file names which match the regular expression will be returned when |
Details
AR is ranked index based on the rank of the M and Ht indices obtained with the functions M
and th
respectively following:
AR = \frac{rank(M) \times rank(H_{t})}{n^2}
with
0 \leq AR \leq 1
Value
A data.frame
with three columns (M, Ht, AR) and n columns, with n the number of objects (respectively files) used as input.
Note
As a ranked index, the results returned by AR strongly depends with the set of objects (respectively files) used as input. Comparaison between different data sets may be spurious. Computing AR on a set of a single object does not make any sense but is allowed.
Author(s)
Jerome Sueur and Marion Depraetere
References
Depraetere M, Pavoine S, Jiguet F, Gasc A, Duvail S, Sueur J (2012) Monitoring animal diversity using acoustic indices: implementation in a temperate woodland. Ecological Indicators, 13, 46-54.
See Also
Examples
## input as R objects
data(orni)
data(tico)
AR(orni, tico)
## give names to objects if you wish to have them as row names of the returned data.frame
AR(orni=orni, tico=tico)
## input as files stored in the working directory
## file names will be used as row names of the returned data.frame
## Not run:
require(tuneR)
AR(getwd(), datatype="files")
## End(Not run)