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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.