Component Predictions of Baseball Batting Averages

collect_hitting_data | Collect Hitting Data fromo SI Site |

component_predict | Computes component predictions of batting averages |

fit_bb_model | Fits a beta-binomial exchangeable model |

graph_components | Scatterplots of observed and predicted component rates |

graph_predictions | Scatterplot of observed and predicted batting averages |

predict_hr | Simulates predictive distribution of season home runs |

stats_player | Finds hitting measures for a specific player |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.