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

View source: R/Standardization.R

format_period_averageR 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

format_period_average(data, period_var, y_var, breakout, labels_and_colors)

Arguments

data

data frame

period_var

The variable with the period designations, grouped into those periods

y_var

The name of variable to plot on y-axis

breakout

Facet and/or color; everything that is to be grouped by for retention

labels_and_colors

A csis360 lookup data.frame with factor information

Value

Returns the average of the year entries across each period


CSISdefense/csis360 documentation built on March 28, 2024, 6:11 p.m.