war_frame: Build a data frame suitable for projecting WAR

Description Usage Arguments Examples

View source: R/war.R

Description

Build a data frame suitable for projecting WAR

Usage

1
2
3
4
5
war_frame(year = max(Lahman::Batting$yearID), ...)

war_frame_pitchers(year = max(Lahman::Pitching$yearID), ...)

war_frame_batters(year = max(Lahman::Batting$yearID), ...)

Arguments

year

Predict until this year

...

Can pass logicals for the filter function

Examples

1
2
3
4
## Not run: 
test <- war_frame(1982)

## End(Not run)

beanumber/mlbgm documentation built on Jan. 21, 2020, 8:33 p.m.