
R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(BradleyTerry2)
> data(citations, package = "BradleyTerry2")
> 
> ## Convert frequencies to success/failure data
> results <- countsToBinomial(citations)
> results
       player1      player2 win1 win2
1   Biometrika Comm Statist  730   33
2   Biometrika         JASA  498  320
3   Biometrika       JRSS-B  221  284
4 Comm Statist         JASA   68  813
5 Comm Statist       JRSS-B   17  276
6         JASA       JRSS-B  142  325
> 
