[R] adding total row/column to table-command
PAlspach at hortresearch.co.nz
Wed Oct 24 23:34:10 CEST 2007
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of Georg Ehret
> Sent: Thursday, 25 October 2007 9:19 a.m.
> To: r-help
> Subject: [R] adding total row/column to table-command
> Dear R,
> I am often adding a total rows or column (sum over all
> rows or columns) when using table(data$1,data$2)... I do this
> now by adding the rows/columns and rbind() or cbind()... But
> there must be a more efficient way.... Could someone please
> give me a hint?
> Thank you!
> With my best regards, Georg.
> Georg Ehret
> Johns Hopkins
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify
the sender and delete all material pertaining to this e-mail.
More information about the R-help