Description Usage Arguments Details See Also Examples
Calculates the slope of all quadrats in a plot.
1 2 | allquadratslopes(elev, gridsize = 20, plotdim = c(1000, 500),
edgecorrect = TRUE)
|
elev |
A list named |
gridsize |
Side of the square quadrate. |
plotdim |
The x and y dimensions of the plot. |
allquadratslopes()
goes through all 20x20 m quadrats in a plot and finds
the slope, mean elevation, and convexity of each. Convexity is the mean
elevation of one 20x20 m quadrat relative (minus) the mean of its immediate
neighbors.
Helene Muller-Landau added a section to correct convexity in edge quadrats.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
# The input to elev is very specific; you may need to tweak it.
elev_asis <- bciex::bci_elevation
head(elev_asis)
elev_tweaked <- list(col = elev_asis)
head(elev_tweaked)
result <- allquadratslopes(
elev = elev_tweaked,
gridsize = 20,
plotdim = c(1000, 500),
edgecorrect = TRUE
)
head(result)
str(result)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.