search for: corsstable

Displaying 1 result from an estimated 1 matches for "corsstable".

Did you mean: constable
2009 Apr 09
1
Create 2*3 Table in R
...ot; Here, the first two columns are considered as factors, the third columns are values. I want to categorize a[,3] based on a[,1] and a[,2], ie, I want to create a table as: 1 2 3 5 Y 1 0 1 N 1 5 0 6 Y .. .. N .. .. .. 7 Y .. .. .. N .. .. .. I tried the CorssTable function, but it couldn't give what I want. I just wonder is there any way/function that can do this job? Thank you very much! Cheers, Jessie [[alternative HTML version deleted]]