rad_2_deg: Convert radians to degrees

View source: R/analytical_functions.R

rad_2_degR 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))

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