search for: frequeny

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

Did you mean: frequency
2008 Mar 12
3
Converting a data frame with values into a matrix/
...s Dough A 1 1 1 1 1 C 1 1 1 1 1 B 1 1 1 1 1 I would love to have : Mike Carl Gene James Dough A 0.01 0.2 1 -0.3 1 C 1 1 1 0.3 1 B 1 1 1 1 0 If I am not wrong this is called contigency or frequeny table. I tried xtabs on this. > z <- xtabs(NES ~ Name+Class,data=xx) Error in Summary.factor(4L, na.rm = FALSE) : sum not meaningful for factors I tried on other data frames, it worked. BUT the problem is it gives me 0.0000 even a value is not available for that row and column. So...