spark_plot_corr: A Correlation Matrix Plotting Function for SparklyR

Description Usage Arguments Details

Description

Useful for EDA plotting of ml_on large Spark/Hive tables, it is designed to resemble the ggcorplot2() function in native R.

Usage

1
spark_plot_corr(sparklyr_corr_matrix)

Arguments

sparklyr_corr_matrix

is the sparklyr ml_corr() output you will pass to the function.

Details

Example corrplot using sparklyR
spark_cars = copy_to(sc, mtcars)
s_corr_mat = ml_corr(spark_cars, columns=colnames(spark_cars), method="pearson")
spark_plot_corr(s_corr_mat)


GabeChurch/sparkedatools documentation built on June 25, 2019, 12:23 p.m.