Given an order table and a schedule of points, calculate the points awarded to each competitor.
ordertable2points(o, points,totals=TRUE)
Arguments
o: Order table
points: A numeric vector indicating number of points awarded for first, second, third, etc placing
totals: Boolean, with default TRUE meaning to return the points for each player (row) and FALSE meaning to return the entire table but with orders replaced with points scored
Returns
Returns either an order table or a named numeric vector