Skip to contents

Get angle value in [-pi, pi] space

Usage

correct_angle_rad(x)

Arguments

x

angle

Value

angle in [-pi, pi] space

Examples

correct_angle_rad(4 * pi)
#> [1] 0