atan2

0th

Percentile

atan2

Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).

Usage
# S4 method for Column
atan2(y, x)
Arguments
y

Column to compute on.

x

Column to compute on.

Note

atan2 since 1.5.0

See Also

Other math_funcs: acos, asin, atan, bin, bround, cbrt, ceil, conv, corr, cosh, cos, covar_pop, cov, expm1, exp, factorial, floor, hex, hypot, log10, log1p, log2, log, pmod, rint, round, shiftLeft, shiftRightUnsigned, shiftRight, signum, sinh, sin, sqrt, tanh, tan, toDegrees, toRadians, unhex

Aliases
  • atan2
  • atan2,Column-method
Examples
# NOT RUN {
atan2(df$c, x)
# }
Documentation reproduced from package SparkR, version 2.1.2, License: Apache License (== 2.0)

Community examples

Looks like there are no examples yet.