powered by
Returns forage ratio from vectors of consumed and available food items.
FR(available, consumed)
A vector of food items available to the organism in the environment
A vector of food items consumed by the organism
# NOT RUN { availableprey <- c(10,10,10,10,10) consumedprey <- c(9,0,0,1,5) FR(available = availableprey, consumed = consumedprey) # }
Run the code above in your browser using DataLab