search for: pathern

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

Did you mean: patern
2003 Jul 10
1
The question is on Symmetry model for square table.
...ata$A),as.numeric(name.data$B)),sep=",") symmetry<-glm(counts~symm,data=name.data,family=poisson(link=log)) } > symmetry(4,4,counts) Error in model.frame(formula, rownames, variables, varnames, extras, extranames, : invalid variable type I tried to print out the table with symm pathern. and the function for symm below. > i<-4 > j<-4 > A<-(c(1:i)) > B<-(c(1:j)) > name.data<-expand.grid(A=A,B=B) > name.data$counts<-(c(counts)) >name.data$symm<-paste(pmin(as.numeric(name.data$A),as.numeric(name.data$B)), + pmax(as.numeric(name.data$...