read.CBData: Read data from external file into a CBData object
Description
A convenience function to read data from specially
structured file directly into a CBData object.
Usage
read.CBData(file, with.freq = TRUE, ...)
Arguments
file
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
with.freq
logical indicator of whether a frequency
variable is present in the file