deg_2_rad: Convert degrees to radians

Description Usage Arguments Value Author(s) See Also Examples

View source: R/analytical_functions.R

Description

Convert degrees to radians

Usage

1
deg_2_rad(deg)

Arguments

deg

Degrees (a numeric of any length >= 1)

Value

The angle(s) in radians (as a numeric vector of the same length)

Author(s)

Vikram B. Baliga

See Also

Other mathematical functions: calc_min_dist_v(), find_curve_elbow(), get_2d_angle(), get_3d_angle(), get_3d_cross_prod(), get_dist_point_line(), get_velocity(), rad_2_deg()

Examples

1
2
3
4
5
## One input
deg_2_rad(90)

## Multiple inputs
deg_2_rad(c(5, 10, 15, 20))

pathviewr documentation built on May 6, 2021, 9:07 a.m.