polar_to_XY: Polar to XY coordianates Convert polar coordinates to...

View source: R/polar_to_XY.R

polar_to_XYR Documentation

Polar to XY coordianates Convert polar coordinates to cartesian coordinates. Used for example if trees were mapped form plot center using distance and azimuth

Description

Polar to XY coordianates Convert polar coordinates to cartesian coordinates. Used for example if trees were mapped form plot center using distance and azimuth

Usage

polar_to_XY(
  azimuth,
  distance,
  xcenter,
  ycenter,
  azimuth_offset,
  distance_offset
)

Arguments

azimuth

- Numeric vector of azimuth from plot center

distance

- Numeric vector of distance from plot center

xcenter

- Cartesian X coordinate of plot center

ycenter

- Cartesian Y coordinate of plot center

azimuth_offset

- Optional. If the tree is leaning and measurement was from plot center to the stem, azimuth between stem and tree top.

distance_offset

- Optional. If the tree is leaning and measurement was from plot center to the stem, distance between stem and tree top.


mqueinnec/itcfuns documentation built on March 31, 2024, 1:57 p.m.