search for: gtotal

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

Did you mean: total
2003 Mar 06
0
modifying ftable to allow percentages (wishlist) (PR#2606)
...tables are useful in educational contexts, whereas lack of a simple method for calculating percentages gives an incorrect impression of the maturity of R IMHO. To add percentage tables to ftable, an option such as pcnt=c("n", "row", "column", "total","gtotal") could be added to ftable.default. Prior to the "y <- aperm" near the end of ftable, the following lines would be added: pcnt<-match.arg(pcnt) if (pcnt!="n") { if (pcnt=="row") {mrg2drop<-col.vars[length(col.vars)]} if (pcnt=="column&qu...