cov {SparkR} | R Documentation |
Compute the sample covariance between two expressions.
## S4 method for signature 'characterOrColumn' cov(x, col2) ## S4 method for signature 'characterOrColumn,characterOrColumn' covar_samp(col1, col2)
Other math_funcs: acos
, asin
,
atan2
, atan
,
bin
, bround
,
cbrt
, ceil
,
conv
, corr
,
cosh
, cos
,
covar_pop
, 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:
##D cov(df$c, df$d)
##D cov("c", "d")
##D covar_samp(df$c, df$d)
##D covar_samp("c", "d")
## End(Not run)