View source: R/analytical_functions.R
| deg_2_rad | R Documentation |
Convert degrees to radians
deg_2_rad(deg)
deg |
Degrees (a numeric of any length >= 1) |
The angle(s) in radians (as a numeric vector of the same length)
Vikram B. Baliga
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()
## One input
deg_2_rad(90)
## Multiple inputs
deg_2_rad(c(5, 10, 15, 20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.