read.CBData: Read data from external file into a CBData object

Description Usage Arguments Value Author(s) See Also

View source: R/CBData.R

Description

A convenience function to read data from specially structured file directly into a CBData object.

Usage

1
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

...

additonal arguments passed to read.table

Value

a CBData object

Author(s)

Aniko Szabo

See Also

CBData


CorrBin documentation built on May 2, 2019, 4:46 p.m.