rad_2_deg: Convert radians to degrees

Description Usage Arguments Value Author(s) See Also Examples

View source: R/analytical_functions.R

Description

Convert radians to degrees

Usage

1
rad_2_deg(rad)

Arguments

rad

Radians (a numeric of any length >= 1)

Value

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

Author(s)

Vikram B. Baliga

See Also

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

Examples

1
2
3
4
5
## One input
rad_2_deg(pi/2)

## Multiple inputs
rad_2_deg(c(pi / 2, pi, 2 * pi))

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