Re: [R] question for crosstable

2008-03-09 Thread eugen pircalabelu
Yes, Mark! Thank you! I was repeatedly using the function with two vectors and i have forgotten that it could be used also with a matrix. Thank you once again! Marc Schwartz <[EMAIL PROTECTED]> wrote: eugen pircalabelu wrote: > Good evening R-users! > > I have the following problem: i want t

Re: [R] question for crosstable

2008-03-09 Thread Marc Schwartz
eugen pircalabelu wrote: > Good evening R-users! > > I have the following problem: i want to get a weighted crosstable along with > the adjusted standardized residuals test > > Example: > a<-c(1,1,1,1,1,2,2,2,3,3) > b<-c(10,10,23,24,33,45,46,70,21,66) > c<-c(3,3,2,3,4,1,1,1,3,3) > d<-c("a",

[R] question for crosstable

2008-03-09 Thread eugen pircalabelu
Good evening R-users! I have the following problem: i want to get a weighted crosstable along with the adjusted standardized residuals test Example: a<-c(1,1,1,1,1,2,2,2,3,3) b<-c(10,10,23,24,33,45,46,70,21,66) c<-c(3,3,2,3,4,1,1,1,3,3) d<-c("a", "b","b","c","a","a","a", "b", "c","c") z<-da