hdg_circular: Use functions from the circular package

Description Usage Arguments Value Examples

View source: R/circular.R

Description

Use functions from the circular package

Usage

1

Arguments

hdg

A heading in degrees, where 0 is north, 90 is east, 180 is south, and 270 is west. Values outside the range [0-360) are coerced to this range using hdg_norm().

Value

A circular::circular() object.

Examples

1
2
3
if (requireNamespace("circular", quietly = TRUE)) {
  hdg_circular(1:10)
}

paleolimbot/headings documentation built on April 14, 2021, 8:33 a.m.