R/fbbi.R

#' Factor Bias Back In (FBBI)
#'
#' @param prior  raster* object of spatial priors
#' @param maxent  raster* object of maxent output
#' @param ... additional functions to be passed to \code{\link[raster]{writeRaster}}
#' @description  Calculate minxent layer using maxent output  (from run with bias layer) and prior (i.e., the bias layer)
#' @export
#' @import raster

fbbi <- function(prior, maxent, ...) {
  ## Multiply the prior and maxent output asciis
  output <- normalize(maxent * prior, ...)
  ## Return the layer
  return(output)
}

Try the bossMaps package in your browser

Any scripts or data that you put into this service are public.

bossMaps documentation built on May 2, 2019, 3:57 p.m.