hugomflavio / actel

Standardised analysis of acoustic telemetry data from fish moving through receiver arrays
https://hugomflavio.github.io/actel-website
26 stars 6 forks source link

jump.warning and jump.error NULL #64

Closed sebdalgarno closed 3 years ago

sebdalgarno commented 3 years ago

Hi @hugomflavio I'm running residency() function for the first time on a preloaded datapack. I am trying to set jump.warning and jump.error to NULL (as in documentation - "If left NULL (default), no warnings are issued.") but am getting this error:

Error: 'jump.warning' must be numeric.

Also the documentation for the arguments state that NULL is the default, but the Usage section shows jump.warning = 2 and jump.error = 3 as the defaults.

hugomflavio commented 3 years ago

Hi Seb,

Thank you for bringing this to my attention. This is a documentation error (an artefact of copy-pasting text...). I have now updated the documentation of these two arguments. To disable jump warnings, please set jump.warning to Inf, rather than NULL.

Hugo

sebdalgarno commented 3 years ago

awesome thanks!