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
, bround
,
cbrt
, ceil
,
conv
, 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
## Not run: corr(df$c, df$d)