plot_ave_data: plot_ave_data

Description Usage Arguments

View source: R/plot_ave_data.R

Description

A companion function to create_ave_plot_data. This function calls the aggregator and then makes a nice plot.

Usage

1
plot_ave_data(x, y_true, y_pred = NULL, w = NULL, rescale = FALSE)

Arguments

x

A vector that contains the dimension that you want to aggregate by

y_true

A vector that contains the target variable (think OBS in emblem)

y_pred

A vector that contains the fitted value from a model (think CA in emblem). Defaults to NULL

w

A vector that contains row level weights (e.g. exposure). Defaults to NULL

rescale

A logical indicating whether you want to the resulting series scaled about the largest level


gm209/gmtools documentation built on May 22, 2019, 2:39 p.m.