Description Usage Arguments Details Value Note See Also Examples
Covariance on a Spark DataFrame
1 | covariance(x, colName1, colName2)
|
x |
a |
colName1 |
the name of the first column |
colName2 |
the name of the second column |
cov
: When applied to spark_tbl, this calculates the sample
covariance of two numerical columns of one spark_tbl.
The covariance of the two columns.
cov since 1.6.0
Other stat functions:
approxQuantile()
,
corr()
,
crosstab()
,
freqItems()
,
sampleBy()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.