meantopo.quad {CTFS} | R Documentation |
Computes the mean elevation, mean convexity and mean slope for quadrates
in CTFS plots. Edge corrections are made. These values are computed
from elevation measured on 5 x 5 m grid. These values preserved in the
data file bciquad.info
.
meantopo.quad(elevfile, gridsize = 20, plotdim = c(1000, 500))
elevfile |
list composed of a data frame and a matrix each which contain elevation data |
gridsize |
the scale at which the measurement in elevation were made. Must be regular. |
plotdim |
dimensions of plot |
This function requires the elevation data to be in a list.
This data structure can be found in the data set
bcitopo.info
or created using elev.to.list
.
The values returned by this function have been saved in
bciquad.info
On exit, this function returns the number of columns and rows of the elevation matrix. In the default case this should be 25 and 30.
Returns a data frame with:
meanelev |
mean elevation (m) for quadrate |
convex |
convexity for quadrate, position is concave (hill), negative is convex (valley) |
slope |
mean slope (degrees) for quadrate |
Rick Condit
bcitopo.info
,
bciquad.info
,CTFS.readwrite
, map
## Not run: data(bcitopo.info) meanquad.info <- meantopo.quad(bcitopo.info$mat) ## End(Not run)