Description Usage Arguments Value Author(s) Examples
Computes component predictions of batting avreages
1 |
d |
data frame with variables playerID, AB, H, HR, SO |
S |
data frame with variables playerID, SO, AB, SO.Rate, HR, AB.SO, HR.Rate, H.HR, AB.SO.HR, H.Rate, Comp.Est, H, AB1, Shrinkage.Est |
component |
data frame with values of eta and K for each component fit |
shrinkage |
values of eta and K for general multilevel fit |
Jim Albert
1 2 3 | ## Not run:
d <- collect_hitting_data()
S <- component_predict(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.