Re: [R] Reading contingency tables

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri 19 Jan 2007 - 16:24:09 GMT

On 1/19/07, Giovanni Petris <GPetris@uark.edu> wrote:
>
> > Date: Fri, 19 Jan 2007 11:08:22 -0500
> > From: Gabor Grothendieck <ggrothendieck@gmail.com>
> > Cc: ripley@stats.ox.ac.uk, r-help@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.



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat Jan 20 03:29:29 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 19 Jan 2007 - 17:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.