maRce10 / warbleR

streamline acoustic analysis in R
https://marce10.github.io/warbleR/
GNU General Public License v3.0
52 stars 21 forks source link

The question about measurement of function gaps() #58

Closed auman-chan closed 1 year ago

auman-chan commented 1 year ago

Hi Marcelo I used function gaps() but I had some puzzle. My definition of "gaps" is the time between end of selection and the start of the next selection (the red arrow in the picture below). 屏幕截图 2023-03-13 111443

but when I run gaps() with the example data, the result like this (reorder by sound.file and start):

image

It seems the function measures the time between "start" of first selection and "end" of second selection, not the "gap" I think. Do I have any misunderstanding of the "gap"?

Thanks

maRce10 commented 1 year ago

Hi

Thanks for reporting. I fixed the issue so it should work find now.

cheers