Skip to contents

This function is a skeleton for creating a plot to visualize headcount regression over time. It fits a linear regression model to the provided data and plots the regression line along with the data points. The plot also includes the predicted count for the next year, and labels for the residuals and prediction.

Usage

plot_count_regression_skeleton(.data, list_name)

Arguments

.data

a data frame cleaned up from df_count_metric_values.rda

list_name

a name found in df_count_metric_values.rda

Value

a plot