[R] CROSSTABULATION

Carlos J. Gil Bellosta cgb at datanalytics.com
Thu Nov 13 12:57:09 CET 2008


Hello...

Which code are you using to perform the breakup into the three classes?
Can you be more specific on that?

Best regards,

Carlos J. Gil Bellosta
http://www.datanalytics.com


On Thu, 2008-11-13 at 09:57 +0000, Sohail wrote:
> I want to form a 3x3 crosstabulation for the signs of two vectors (i.e.
> Negative, Zero, Positive). The problem is that I am simulating the data so
> for some iterations one of the categories is absent. Thus the resulting
> table shrinks to 3x2. I want it to be 3x3 with zero column corresponding to
> the missing category. Moreover, I have tried but failed to give the
> dimension names.



More information about the R-help mailing list