[R] RTable width sum colum

Gabor Grothendieck ggrothendieck at gmail.com
Mon Oct 8 19:00:47 CEST 2007


If it really is of class "table" (or is an array) or you convert it to such
you can use addmargins.  You may need to read ?addmargins
carefully.

On 10/8/07, Alessandra Marmo <alessandra.marmo at unicam.it> wrote:
> Hello
> I need to print table width "colum sum" like
> X    V1    V2    TOT
> A    2    3            5
> B    1    6            7
> C    4    6           10
>
> how i can do it by table function?
>
> Thanks
>
> Alessandra
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list