flag_dead_fish: Uses movement information to determine the living status of...

Description Usage Arguments Value Examples

View source: R/flagDeadFish.R

Description

An ad hoc algorithm is used to determine the living status of fish. Basically, if a fish moves less than dist_thresh km for all consecutive detection periods following the detection, the fish will be flagged as dead. Euclidean distance is currently used. To determine the survival status of fish using a statistical approach that incorporates mortality sensor information use hmm_survival.

Usage

1
flag_dead_fish(best_detects, dist_thresh = 10)

Arguments

dist_thresh

See description.

Value

Returns a data.frame where $MortFlag=T if a fish has been flagged as dead.

Examples

1
2
flagged_fish <- flag_dead_fish(best_detects)
head(flagged_fish)

jBernardADFG/telprep documentation built on July 26, 2020, 2:17 a.m.