R/moving_average_plot.R

Defines functions moving_average_plot

moving_average_plot <- function(mavg_data){
  ggplot(mavg_data,
        aes(x=Index, ymax=Average, ymin=AVG)) +
    geom_ribbon(fill="blue") +
    theme_minimal()
}
bayesball/BayesTestStreak documentation built on April 28, 2024, 6:28 a.m.