BX2way: Book-crossing 2-way contingency table data

BX2wayR Documentation

Book-crossing 2-way contingency table data

Description

30x15 contingency table classifying book reviews by book ISBN (30 levels) and country of reviewer (15 levels). The dataset appears as a list prepared for contingency table resampling conditional on the marginal totals. Components of the list are A (the configuration matrix); y (marginal totals); x (true cell counts); lambda (cell means under independence model); and MarkovBasis (a matrix with columns corresponding to the vectors in full Markov basis for the resampling problem).

Usage

data(BX2way)

Format

An object of class list of length 5.

Examples

data(BX2way)
Xsampler(A=BX2way$A,y=BX2way$y,lambda=BX2way$lambda,Model="Uniform",Method="Gibbs",tune.par=0.5,combine=FALSE,burnin=50,ndraws=200)

MartinLHazelton/DynamicLatticeBasis documentation built on March 1, 2024, 3:14 a.m.