R/get_time.R
get_time.Rd
get_time
returns the time to reach the prey by the
predator when a specific α or dα/dt value is reached.
get_time(mod, dadt, alpha)
mod | list or data.frame. Object of class |
---|---|
dadt | numeric. dadt value to find time exceeded at. |
alpha | numeric. alpha value to find time exceeded at. |
numeric value of time in whatever units were used to create the model.
Input can be an object of class attack_model
,
attack_model_whale
, or data.frame
exported from either of
those functions. α and dα/dt columns are identified
automatically. Only one of the dadt
or alpha
inputs
should be entered.