tran.profile {RSurvey} | R Documentation |
This function determines the profile spatial coordinates along a transect.
tran.profile(vertices)
vertices |
a matrix with rows corresponding to the transect vertices and columns to spatial coordinates. |
A matrix with rows corresponding to locations along a profile. Variables associated with each location include:
[,1] | x | numeric | locations on the x-axis |
[,2] | y | numeric | locations on the y-axis |
[,3] | h | numeric | locations on the local x-axis. |
[,4] | z | numeric | locations on the z-axis |
Fisher, J. C.
data(confluence) vert <- matrix(c(679164, 4135733, 679239, 4135730), nrow = 2, ncol = 2, byrow = TRUE, dimnames = list(c("1", "2"), c("x", "y"))) prof <- tran.profile(vert) prof