#' Rasterize Species Data
#'
#' Rasterize SpatialPointsDataFrame or SpatialPolygonsDataFrame to
#' individual global raster with a specific resolution
#'
#' @param dsn Path to one shapefile with multiple polygons or a list of files
#' @return list of raster layers for each \code{id} with the given area \code{shapefile}
#' @examples
#' \dontrun{
#' rasterizeSp()
#' }
#' @export
rasterizeSp <- function(dsn){
if(is(dsn, "SpatialPointsDataFrame")){
} else if(is(dsn, "SpatialPolygonDataFrame")){
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.