Hello,

might be rather easy for R pros, but I've been searching to the dead end to ...

twsource.area <- table(twsource, area, useNA="ifany")

gives me a nice cross tabulation of frequencies of two factors, but now I want to convert to pecentages of those absolute values. In addition I'd like an extra column and an extra row with absolute sums. I know, Excel or the likes will produce it more easily, but how would the procedure look like in R?

Thanks,

Sören

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to