From: Sohail <sohail.stat_at_gmail.com>
Date: Thu, 13 Nov 2008 09:57:34 +0000

 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.

Sohail Chand

PhD Scholar
C3b Pope Building
School of Mathematical Sciences
University of Nottingham

Lecturer (On Study Leave)
Institute of Statistics
University of the Punjab
Quaid-i-Azam Campus, Lahore (Pakistan)

	[[alternative HTML version deleted]]

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 13 Nov 2008 - 09:59:39 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 13 Nov 2008 - 21:30:25 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.

list of date sections of archive