ang_diff: ang_diff

View source: R/utils.R

ang_diffR Documentation

ang_diff

Description

compute the closest angular difference between two angles. Thanks to thanks to https://stackoverflow.com/a/7869457

Usage

ang_diff(target, pressed)

Arguments

target

numeric the first angle in degrees

pressed

numeric the second angle in degrees

Value

numeric the difference in degrees


shared-research/face-mask-gew documentation built on June 4, 2022, 1:19 p.m.