On Aug 13, 2010, at 3:10 PM, Michael Bedward wrote: > Nice question Silvano ! > > teams <- LETTERS[1:11] > matches <- combn(teams, 2) > draw <- data.frame(team1=matches[1,], team2=matches[2,], > round=sequence(10:1) + rep(0:9, times=10:1)) > > Is there a prize :-)
Maybe you want to sponsor one, because your solution certainly doesn't work! I see 10 games in the 10th round, all involving team K..... That's not how to arrange a tournament! -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.