Check argument quality
checkArguments(
dp,
tz,
min.total.detections,
min.per.event,
max.interval,
speed.method = c("last to first", "last to last"),
speed.warning,
speed.error,
start.time,
stop.time,
report,
auto.open,
save.detections,
jump.warning,
jump.error,
inactive.warning,
inactive.error,
exclude.tags,
override,
print.releases,
detections.y.axis = c("auto", "stations", "arrays"),
if.last.skip.section = NULL,
replicates = NULL,
section.warning,
section.error,
section.order = NULL,
timestep = c("days", "hours")
)
updated parameters
A preloaded datapack (or NULL if no data was preloaded).
The time zone of the study area. Must match one of the values
present in timezones
.
Minimum number of times a tag must have been detected during the study period for the detections to be considered true and not just random noise. Defaults to 2.
Minimum number of detections an event must have to be deemed valid. For analyses with both array and section events, a vector of two values can be provided. If only one value is provided, the same threshold applies for both types of events. Defaults to 1.
The number of minutes that must pass between detections for a new event to be created. Defaults to 60.
Can take two forms: 'last to first' or 'last to last'. If 'last to first' (default), the last detection on the previous array is matched to the first detection on the target array to perform the calculations. If 'last to last', the last detection on ´the previous array is matched to the last detection on the target array to perform the calculations.
If a tag moves at a speed equal or greater than
speed.warning
(in metres per second), a warning is issued. If left
NULL (default), no warnings are issued. Must be equal to or lower than speed.error
If a tag moves at a speed equal or greater than
speed.error
(in metres per second), user intervention is suggested.
If left NULL (default), user intervention is never suggested.
Detection data prior to the timestamp set in
start.time
(in YYYY-MM-DD HH:MM:SS format) is not considered during
the analysis.
Detection data posterior to the timestamp set in
stop.time
(in YYYY-MM-DD HH:MM:SS format) is not considered during
the analysis.
Logical. Should an HTML report be created at the end of the analysis? NOTE: Setting report to TRUE will generate an HTML file in the current directory. Additionally, if auto.open = TRUE (default), the web browser will automatically be launched to open the report once the function terminates.
Logical: Should the report be automatically opened once the analysis is over? Defaults to TRUE. NOTE: If report = TRUE and auto.open = TRUE, the web browser will automatically be launched to open the report once the function terminates.
Logical: Should the processed detections be saved for future runs?
If a tag crosses a number of arrays equal or greater
than jump.warning
without being detected, a warning is issued. Defaults
to 2. To disable jump warnings, set to Inf. Must be equal to or lower than jump.error
.
If a tag crosses a number of arrays equal or greater than
jump.error
without being detected, user intervention is suggested.
Defaults to 3. To disable user intervention suggestions, set to Inf.
If a tag spends a number of days equal or greater
than inactive.warning
in a given array at the tail of the respective
detections, a warning is issued. If left NULL (default), no warnings are
issued. Must be equal to or lower than innactive.error
.
If a tag spends a number of days equal or greater than
inactive.error
in a given array at the tail of the respective
detections, user intervention is suggested. If left NULL (default), user
intervention is never suggested.
A vector of tags that should be excluded from the detection data before any analyses are performed. Intended to be used if stray tags from a different code space but with the same signal as a target tag are detected in the study area.
A vector of signals for which the user intends to manually define which movement events are valid and invalid.
Logical: Should the release sites be printed in the study area diagrams?
The type of y axis desired for the individual detection plots. While the argument defaults to "auto", it can be hard-set to one of "stations" or "arrays".
Logical: Should a tag detected at the last array of a given section be considered to have disappeared in the next section?
A list containing, for each array to which intra-array efficiency is to be calculated: The standard names of the stations to be used as a replicate. See the vignettes for more details.
If a tag has section movement events with less or equal to
section.warning
detections, a warning is issued. Defaults to 1.
To disable section warnings, set to 0. Must be equal to or greater than section.error
.
If a tag has section movement events with less or equal to
section.error
detections, user intervention is suggested.
Defaults to 1. To disable user intervention suggestions, set to 0.
A vector containing the order by which sections should be aligned in the results.
The resolution desired for the residency calculations. One of "days" (default) or "hours".