R/ratios.R
degrees.Rd
This trigonometric helper calculates the angle of the diagonal for a rectangle of given dimensions.
degrees(h, w = 1)
pairwise height & width vectors representing input proportions
Returns a vector of angles in degrees
degrees(0, 1) #> [1] 0 degrees(1, 1) #> [1] 45 degrees(1, 0) #> [1] 90