R/fecund.r

Defines functions fecund

fecund <- function(pop, fec){
  # function that creates number of individuals produced by adults with Poisson distribution
  # could focus on overall number of metamorphs relative to number of adults, skipping larval dynamics
  return(rpois(pop, fec))
}
openfields/Ambcitsci documentation built on May 24, 2019, 2:32 p.m.