# ml_corr

From sparklyr v0.8.1-9001
by Javier Luraschi

##### Compute correlation matrix

Compute correlation matrix

##### Usage

`ml_corr(x, columns = NULL, method = c("pearson", "spearman"))`

##### Arguments

- x
A

`tbl_spark`

.- columns
The names of the columns to calculate correlations of. If only one column is specified, it must be a vector column (for example, assembled using

`ft_vector_assember()`

).- method
The method to use, either

`"pearson"`

or`"spearman"`

.

##### Value

A correlation matrix organized as a data frame.

*Documentation reproduced from package sparklyr, version 0.8.1-9001, License: Apache License 2.0 | file LICENSE*

### Community examples

Looks like there are no examples yet.