powered by
Covariance and (pearson) correlation.
# S4 method for shaq cov(x, y = NULL, use = "everything", method = "pearson")# S4 method for shaq cor(x, y = NULL, use = "everything", method = "pearson")
# S4 method for shaq cor(x, y = NULL, use = "everything", method = "pearson")
A shaq.
At this time, this must be NULL.
NULL
NA handling rules, as with R's cov/cor functions. At this time, only "everything" is supported.
The cov/cor method. Currently only "pearson" is available.
A regular matrix.
The operation is completely local except for forming the crossproduct, which is an allreduce() call, quadratic on the number of columns.
allreduce()
library(kazaam) x = ranshaq(runif, 10, 3) cov(x) cor(x) finalize()
Run the code above in your browser using DataLab