View source: R/computeFeldRegion.R
computeFeldRegion | R Documentation |
Extract the Feldpausch et al. (2012)'s regions using local coordinates.
computeFeldRegion(coord, level = c("region"))
coord |
Coordinates of the site(s), a matrix/dataframe with two columns (e.g. cbind(longitude, latitude)) (see examples). |
level |
a string or a vector of string, the length must match the number of rows of the parameter coord. This parameter gives the scale at which Feldpausch regions should be assigned. There are tree levels:
|
The function returns a vector with the Feldpausch et al. (2012)'s regions that can be
incorporated in the retrieveH
function.
Arthur PERE
Feldpausch, T.R., et al. (2012). Tree height integrated into pantropical forest biomass estimates. Biogeosciences, 9, 3381–3403.
#' # One study site
lat <- 4.08
long <- -52.68
coord <- cbind(long, lat)
FeldRegion <- computeFeldRegion(coord)
# Several study sites (here three sites)
long <- c(-52.68, -51.12, -53.11)
lat <- c(4.08, 3.98, 4.12)
coord <- cbind(long, lat)
FeldRegion <- computeFeldRegion(coord)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.