fgeo_topography {fgeo.analyze} | R Documentation |
Create topography data: convexity, slope, and mean elevation.
Description
Create topography data: convexity, slope, and mean elevation.
Usage
fgeo_topography(elev, ...)
## S3 method for class 'data.frame'
fgeo_topography(
elev,
gridsize,
xdim = NULL,
ydim = NULL,
edgecorrect = TRUE,
...
)
## S3 method for class 'list'
fgeo_topography(elev, gridsize, edgecorrect = TRUE, ...)
Arguments
elev |
One of these:
|
... |
Other arguments passed to methods. |
gridsize |
Number giving the size of each quadrat for which a habitat
is calculated. Commonly, |
xdim , ydim |
(Required if |
edgecorrect |
Correct convexity in edge quadrats? |
Value
A dataframe of subclass fgeo_topography.
Acknowledgment
Thanks to Jian Zhang for reporting a bug (issue 59).
Author(s)
This function wraps code by Richard Condit.
See Also
Other habitat functions:
fgeo_habitat()
,
tt_test()
Other functions to construct fgeo classes:
fgeo_habitat()
Examples
assert_is_installed("fgeo.x")
elev_list <- fgeo.x::elevation
fgeo_topography(elev_list, gridsize = 20)
elev_df <- elev_list$col
fgeo_topography(elev_df, gridsize = 20, xdim = 320, ydim = 500)