## Not run:
# #This will load two dataframes: B00.scores and B00.teams
# data(B00data)
#
# #fit a model using a particular date range for B00 teams
# #set the data range to just be the summer games of WA teams
# x=rank.teams(scores=B00.scores, teams=B00.teams,
# min.date="2012-5-1", max.date="2012-9-8", silent=TRUE)
#
# #x is a fbRanks object with the fitted model and ranks, and the scores and teams data.frames
# #the scores data.frames has all the data, not just the summer data
#
# #Now we can use the summer data to predict the fall RCL D1 games (top B00 league in WA)
# predict(x, venue="RCL D1")
#
# #We can also predict all the games for a particular team
# predict(x, name="Seattle United Copa B00")
# ## End(Not run)
Run the code above in your browser using DataLab