| deg_2_rad {pathviewr} | R 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))
[Package pathviewr version 1.1.7 Index]