tran.profile {RSurvey}R Documentation

Calculate the Profile Along a Transect

Description

This function determines the profile spatial coordinates along a transect.

Usage

tran.profile(vertices)

Arguments

vertices a matrix with rows corresponding to the transect vertices and columns to spatial coordinates.

Value

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

Author(s)

Fisher, J. C.

Examples

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

[Package RSurvey version 0.4.5 Index]