## 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)
#
# #there are multiple clusters
# names(coef(x)$coef.list)
#
# #show the coefficients for cluster 1 as a list
# #notice that fewer goals are scored on Turf
# coef(x)$coef.list[[1]]
# ## End(Not run)
Run the code above in your browser using DataLab