[R] Reading contingency tables
Gabor Grothendieck
ggrothendieck at gmail.com
Fri Jan 19 17:24:09 CET 2007
On 1/19/07, Giovanni Petris <GPetris at uark.edu> wrote:
>
> > Date: Fri, 19 Jan 2007 11:08:22 -0500
> > From: Gabor Grothendieck <ggrothendieck at gmail.com>
> > Cc: ripley at stats.ox.ac.uk, r-help at stat.math.ethz.ch
> > DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta;
> >
> > You are writing out x rather than ft. If you do:
> >
> > write.ftable(ft, file = stdout())
> >
> > it looks the same as the input.
> >
>
> You are wright. The point I was trying to make is that read.ftable
> does not work as (I) expected for an ftable with two column
> variables.
>
x is not of class "ftable". It is of class "table". It may print with
two column variables but it does not intrinsically have two column
variables.
More information about the R-help
mailing list