| corr {SparkR} | R Documentation |
Computes the Pearson Correlation Coefficient for two Columns.
## S4 method for signature 'Column' corr(x, col2)
Other math_funcs: acos; asin;
atan2; atan;
bin, bin; cbrt,
cbrt; ceil,
ceil, ceiling;
conv, conv;
cosh; cos;
expm1; exp;
factorial; floor;
hex, hex;
hypot, hypot;
log10; log1p;
log2; log;
pmod, pmod;
rint, rint;
round; shiftLeft,
shiftLeft;
shiftRightUnsigned,
shiftRightUnsigned;
shiftRight, shiftRight;
sign, signum,
signum; sinh;
sin; sqrt;
tanh; tan;
toDegrees, toDegrees;
toRadians, toRadians;
unhex, unhex
## Not run: corr(df$c, df$d)