acos(x) asin(x) atan(x) atan(x, y)
For numeric arguments, the domain of acos and asin is the interval [-1, 1], and the range is 0 <= acos(x) <= pi and -pi/2 <= asin(x) <= pi/2. The domain of atan is unrestricted and the range is -pi/2 < atan(x) < pi/2 or -pi < atan(x,y) <= pi. For values of the arguments outside of the appropriate domains, is returned and a warning is given.
These functions are members of the Math group of generic functions.
For further information on domains and branch cuts in the case of complex arguments, see section 5.1.5 of Becker, Chambers and Wilks.
atan(-1,1) # returns -pi/4 atan(1,-1) # returns 3*pi/4acos(1/2) # returns pi/3 disk <-complex(arg = seq(-pi,pi, len = 50)) #fifty points on a unit circle asin(disk)