[R] A basic question ...

(Ted Harding) Ted.Harding at nessie.mcc.ac.uk
Wed Mar 3 13:36:04 CET 2004


Sorry to ask a question so basic that it's almost silly ...

I have data which can be expressed in contingency table
form as

Factor1  Factor2  Counts1  Counts2
==============================
   A        U      nAU1     nAU2
   A        V      nAV1     nAV2
   A        W      nAW1     nAW2

   B        U      nBU1     nBU2
   B        V      nBV1     nBV2
   B        W      nBW1     nBW3

and I want to submit these to 'loglin' to do the usual
sort of thing.

Question: what command do I give to R to generate the
requisite "table" object for 'loglin'?

With thanks!
Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 167 1972
Date: 03-Mar-04                                       Time: 12:36:04
------------------------------ XFMail ------------------------------




More information about the R-help mailing list