get_time: Extract attacker time to reach prey when a specific *α* or...

Description Usage Arguments Details Value Author(s)

View source: R/get_time.R

Description

get_time returns the time to reach the prey by the predator when a specific α or dα/dt value is reached.

Usage

1
get_time(mod, dadt, alpha)

Arguments

mod

list or data.frame. Object of class attack_model, attack_model_whale, or data.frame exported from either of those functions

dadt

numeric. dadt value to find time exceeded at.

alpha

numeric. alpha value to find time exceeded at.

Details

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.

Value

numeric value of time in whatever units were used to create the model.

Author(s)

Nicholas Carey - nicholascarey@gmail.com


nicholascarey/attackR documentation built on July 22, 2020, 11:41 p.m.