#This loads two data frames: B00.scores and B00.teams
data(B00data)
#rank the teams in the RCL D1 league
x=rank.teams(scores=B00.scores, teams=B00.teams, venue="RCL D1")
#Just a printing of the ranks with no extra info shown.
#some 2 team clusters are shown. Those are teams with just 1 game (against each other)
print(x)
## Not run:
# #rank all teams
# x=rank.teams(scores=B00.scores, teams=B00.teams, venue="RCL D1")
#
# #You can also do filtered prints
# #print the ranks with the regions shown
# print(x, region="all")
#
# #print ranks for just a region
# print(x, region="WA")
#
# #print ranks for a league; fall.league is a column in the teams data frame
# print(x, fall.league=c("RCL D1 U12","RCL D2 U12"))
#
# #print ranks for teams in a tournament; venue is a column in the scores data frame
# print(x, venue="Baker Blast")
# ## End(Not run)
Run the code above in your browser using DataLab