rad_2_deg {pathviewr}R Documentation

Convert radians to degrees

Description

Convert radians to degrees

Usage

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

Examples

## One input
rad_2_deg(pi/2)

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

[Package pathviewr version 1.1.7 Index]