read.CBData {CorrBin} | R Documentation |
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 occurs in the data. |
with.freq |
logical indicator of whether a frequency variable is present in the file |
... |
additional arguments passed to |
Value
a CBData
object
Author(s)
Aniko Szabo
See Also
[Package CorrBin version 1.6.1 Index]