Description Usage Arguments Value
View source: R/prey_survival_simulation.R
Determines whether a fish survived the environment. All the outcomes (1 or 0) of encounters are summed. If the total is less than the number of transects (i.e., a death (that is, a 0) occurred in a cell), then the fish is considered to have died.
1 | calculate_final_status(fish_frame, path_length)
|
fish_frame |
dataframe with prey fish, lengths, survival modifiers, and simulation results; see simulate_encounters() |
path_length |
number of cells traversed; determined by calculate_path_length() |
dataframe with a "final_status" column to indicate overall survival for each fish
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.