plot_rate_regression_skeleton() : skeleton function to create retention regression plot for "utMetrics Dashboard" shiny app.
Source:R/plot_rate_regression_skeleton.R
plot_rate_regression_skeleton.RdThis function is a skeleton for creating a plot to visualize retention 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 rate for the next year, and labels for the residuals and prediction.