fish_with_length_survival_boost: Survival Boost from Length

Description Usage Arguments Value Note Examples

View source: R/prey_survival_simulation.R

Description

Checks the effect a fish's length has on the probability of encountering a predator

Usage

1

Arguments

fish_frame

dataframe of fish and their lengths; use output from the prey_fish_lengths function

Value

a dataframe with fish lengths and the effect of those lengths on predator encounters

Note

this function can be parallelized; e.g., by setting plan(multisession)

Examples

1
2
fish_frame <- prey_fish_lengths(number_of_fish = 10)
fish_with_length_survival_boost(fish_frame)

mrguyperson/predpackplus documentation built on Dec. 21, 2021, 10:08 p.m.