deg_2_rad: Convert degrees to radians

View source: R/analytical_functions.R

deg_2_radR Documentation

Convert degrees to radians

Description

Convert degrees to radians

Usage

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_traj_velocities(), get_velocity(), rad_2_deg()

Examples

## One input
deg_2_rad(90)

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

vbaliga/pathviewR documentation built on March 16, 2023, 4:13 p.m.