## Preparing the data

Functions for preparing a btdata object

codes_to_counts

Converts data frame with a code for wins to counts of wins

btdata summary

Create a btdata object

select_components

Subset a btdata object

Function to create a btfit object

btfit

## Functions taking a btfit object

Functions and methods for a btfit object

summary

coef

Extract coefficients of a 'btfit' object

vcov

Calculate variance-covariance matrix for a btfit object

fitted

Fitted Method for "btfit"

btprob

simulate_BT simulate

This function simulates one or more pseudo-random datasets from a specified Bradley-Terry model. Counts are simulated from independent binomial distributions, with the binomial probabilities and totals specified through the function arguments.

## Simulating from the Bradley-Terry model

Functions to simulate from the Bradley-Terry model

simulate_BT simulate

This function simulates one or more pseudo-random datasets from a specified Bradley-Terry model. Counts are simulated from independent binomial distributions, with the binomial probabilities and totals specified through the function arguments.

## Datasets

Toy datasets for demonstrating the BradleyTerryScalable workflow

citations

Statistics Journal Citation Data from Stigler (1994)

toy_data

A toy data set for the BradleyTerryScalable package