R/rhrUD.R

Defines functions rhrUD

Documented in rhrUD

#' Utilization distribution
#'
#' Function to obtain the utilization distribution (UD) of a home range estimate.
#' 
#' For probabilistic estimators home range estimator this functions returns the UD.
#' @param x An object of class RhrProbEst.
#' @param ... none implemented.
#' @export
#' @return An object of class RasterLayer.

rhrUD <- function(x, ...) {
  UseMethod("rhrUD", x)
}

#' @export
rhrUD.default <- function (x , ...) {
  paste0 ("rhrUD is not defined for object of class", class(x))
}

##' @export
rhrUD.RhrGeoEst <- function (x , ...) {
  warning("rhrUD is not defined for geometric estimators")
}
jmsigner/rhr documentation built on June 26, 2020, 8:59 a.m.