deg_to_rad: Convert decimal degrees to radians

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Convert decimal degrees to radians

Usage

1

Arguments

deg

A vector of values, in decimal degrees, to convert to radians

Value

A vector of the same length in radians

Examples

1
2

Example output

[1] 6.283185
[1] 360

spacey documentation built on March 15, 2020, 1:07 a.m.