R/DensityDependence.R

DensityDependence.Rfun <- function(pop, space) { 
  1 - sum(pop*space)
}


require(compiler)
#' Produced multiplier for new recruits given population and space vectors
#'@import compiler
#'@export
DensityDependence <- cmpfun(DensityDependence.Rfun)
noamross/SODDr documentation built on May 23, 2019, 9:30 p.m.