group_data_for_plot: Returns data in the appropriate format for the user-specified...

View source: R/Standardization.R

group_data_for_plotR Documentation

Returns data in the appropriate format for the user-specified plot

Description

Returns data in the appropriate format for the user-specified plot

Usage

group_data_for_plot(data, x_var, y_var, breakout, aggregate = "sum")

Arguments

data

The data to format for the plot, as a tibble

x_var

x-axis

y_var

y-axis

breakout

the facets or other divisions that will be grouped by when summing

aggregate

aggregation function; defaults to sum

Details

Transforms data by summarizing on key display variable

Value

A tibble of formatted data


CSISdefense/csis360 documentation built on Aug. 31, 2024, 12:35 a.m.