Description Usage Arguments Value Acknowledgment Author(s) See Also Examples
View source: R/fgeo_topography.R
Create topography data: convexity, slope, and mean elevation.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 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, ...)
|
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? |
A dataframe of subclass fgeo_topography.
Thanks to Jian Zhang for reporting a bug (issue 59).
This function wraps code by Richard Condit.
Other habitat functions:
fgeo_habitat()
,
tt_test()
Other functions to construct fgeo classes:
fgeo_habitat()
1 2 3 4 5 6 7 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.