R/isopleths.R

Defines functions isopleths.RhrHREstimator isopleths

Documented in isopleths isopleths.RhrHREstimator

#' Retrives the isopleths of an rhrHREstimator object
#' 
#' @param x an object of class rhrHREstimator
#' @param ... further arguments, none implemented
#' @export
#' @return SpatialPolygonsDataFrame

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


#' get the isopleths from rhrHREstimator
#' 
#' @param x an object of class rhrHREstimator
#' @param ... further arguments, none implemented
#' @export
#' @method isopleths RhrHREstimator

isopleths.RhrHREstimator <- function(x, ...) {
    return(x$results$isopleths)
}

Try the rhr package in your browser

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

rhr documentation built on May 31, 2017, 4:26 a.m.