# NOT RUN {
correlate(iris)
# }
# NOT RUN {
correlate(iris[-5])
correlate(mtcars)
# }
# NOT RUN {
# Also supports DB backend and collects results into memory
library(sparklyr)
sc <- spark_connect(master = "local")
mtcars_tbl <- copy_to(sc, mtcars)
mtcars_tbl %>%
correlate(use = "pairwise.complete.obs", method = "spearman")
spark_disconnect(sc)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab