Interpret the values of r as 1, -1 and 0.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy