elev.to.list {CTFS} | R Documentation |
Converts the dataframe of x, y coordinates and elevation to a list with two objects: the original data frame and the same data in matrix format. The matrix format is useful for making maps and calculating mean topographic values for quadrates.
elev.to.list(elevfile, gridsize = 5)
elevfile |
data frame of x, y coordinates and elevation,
bcielev.info |
gridsize |
scale of elevation values (m) |
This function creates two versions of the same information, as the original data frame and as a list. The point of this is that other functions rely upon one or the other object structure.
A list composed of
col |
data frame of x, y coordinates and elevation |
x |
x coordinate, East-West |
y |
y coordinate, North-South |
elevation |
elevation, in meters |
mat |
matrix in the orientation of the plot |
Rick Condit
CTFS.readwrite
, map
,
meantopo.quad
## Not run: bcitopo.info <- elev.to.list(bcielev.info) str(bcitopo.info) ## End(Not run)