spark_plot_stddev_group: A SparklyR Simple Plotting Method for comparing Data Deviance...

Description Usage Arguments Details

Description

This function creates an easily displayed bar-graph for examining data deviance

Usage

1
spark_plot_stddev_group(sparklyr_table, group_col)

Arguments

sparklyr_table

is the spark table you will pass to the function. You can pass using a dplyr spark table (tbl). YOU MAY ONLY INCLUDE 2 COLUMNS

group_col

is the target column to predict

Details

Important package requirements:
You must have ggplot2 installed

Example selection of a spark table and graph
spark_table = tbl(sc, sql("select * from sample_data.iris limit 100"))
outputs = spark_plot_stddev_group(spark_table, predictor='Species')


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