coordTrees: Get Coordinates of Trees around a center plot

Description Usage Arguments Details Value Examples

Description

coordtrees return the x and y coordinates of the trees (o whatever) located around a center plot.

Usage

1
coordtrees(angle, distance, x0 = 0, y0 = 0)

Arguments

angle

A vector of angle (degrees) of the element with respect to the center (measured from center).

distance

A vector of distance (meters) of the element to the plot center.

x0

x-coordinate of the plot center. Default to 0.

y0

y-coordinate of the plot center. Default to 0.

Details

This function uses distance and angle values of an object to compute the relative position (coordinates) of the object with respect to coordinates supplied by x0 and y0.

Value

A dataframe with two columns (x and y) representing x- and y-coordinates respectively (in meters).

Examples

1
coordtrees(angle=340, distance=9.8)

ajpelu/dendroEco documentation built on May 27, 2019, 9:55 a.m.