As a Matlab user transitioning to R, I have ran across the problem of applying trigonometric functions to degrees. In Matlab there are trig functions for both radians and de
You may also be interested in the zapsmall function for another way of showing numbers that are close to 0 as 0.