A convenience function to read data from specially structured file directly
into a CBData object.
read.CBData(file, with.freq = TRUE, ...)name of file with data. The first column should contain the treatment group, the second the size of the cluster, the third the number of responses in the cluster. Optionally, a fourth column could give the number of times the given combination occurs in the data.
logical indicator of whether a frequency variable is present in the file
additonal arguments passed to read.table
a CBData object