R/serengeti.R

# 
# 
# Documentation for the serengeti dataset (objects serengeti and serengeti.rain)
# 
# See also R/forestgap.R for pointers on how to document a dataset. 
# 
#' @title Serengeti dataset
#' 
#' @description Vegetation data along a rainfall gradient in Serengeti national 
#'   park. 
#' 
#' @details The data-set consists of a rectangular area of size 7.5 km x 90 km. 
#'   These data are represented as a list of matrices. Each matrix is a moving 
#'   window of 7.5 km x 7.5 km which moves my 2.5 km along the length of the 
#'   rectangular data-set. 
#'   Each entry in the matrix is vegetation data at a resolution of 30m as 
#'   classified into binary units with 0 (grass) and 1 (forest).
#'   The rainfall data provided here is the average rainfall (mm/yr) of a 
#'   moving window of dimension 7.5km which moves my 2.5 km along the length 
#'   of the rectangular data-set.   
#' 
#' @format A list of logical matrices 
#' 
#' @source Extracted from Eby's et al (2017) supplementary material 
#'   \url{https://github.com/tee-lab/spacetime-csd/}
#' 
#' @references 
#' 
#' Eby, S., Agrawal, A., Majumder, S., Dobson, A.P. & Guttal, V. (2017). 
#' Alternative stable states and spatial indicators of critical slowing down 
#' along a spatial gradient in a savanna ecosystem: Global Ecology 
#' and Biogeography, 26, 638-649
#' 
#' Reed, D. N., Anderson, T. M., Dempewolf, J., Metzger, K., & Serneels, S. (2009). 
#' The spatial distribution of vegetation types in the Serengeti ecosystem: 
#' the influence of rainfall and topographic relief on vegetation patch 
#' characteristics. Journal of Biogeography, 36(4), 770-782.
# 
# The strings below have no effect except forcing R to read this file. 
"serengeti" 

#' @rdname serengeti
#' 
#' @format The annual rainfall corresponding to the matrices in the serengeti 
#'   dataset, in the corresponding order. 
#' 
"serengeti.rain"

Try the spatialwarnings package in your browser

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

spatialwarnings documentation built on Jan. 27, 2018, 3:01 a.m.