corr {SparkR}R Documentation

corr

Description

Computes the Pearson Correlation Coefficient for two Columns.

Usage

## S4 method for signature 'Column'
corr(x, col2)

See Also

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

Examples

## Not run: corr(df$c, df$d)

[Package SparkR version 2.0.0 Index]