Description Usage Arguments Value Author(s) References
Method based on Viviant et al. (2010) (see references) which was originally implemented on a jaw accelerometer.
1 2 | prey_catch_attempts(x, fs = 16, fc = 2.64, w = 1.5, grp = NULL,
n_days = NULL)
|
x |
3 axes acceleration table with time in the first column and acceleration
axes in the following columns. Variables must be entitled |
fs |
sampling frequency of the input data (Hz). |
fc |
Cut-off frequency for the butterworth high pass filter (Hz). Frequency above which signals across x, y and z accelerometer axes are retained. |
w |
window width in seconds to use when applying rolling standard deviation. |
grp |
A vector (with same number of observation than |
n_days |
time period (in days) over which kmeans clustering of negative
and positive prey catch attempt behaviours should be performed.
Leave as |
returns a logical vector of prey catch attempts at 1 Hz frequency. Value is TRUE if the record belong to prey catch attempt FALSE otherwise.
Yves Le Bras, Samantha Cox
Viviant, M., Trites, A. W., Rosen, D. A. S., Monestiez, P. and Guinet, C. #(2010). Prey capture attempts can be detected in Steller sea lions and other marine predators using accelerometers. Polar Biol 33, 713–719.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.