[R] Margins in dcast (reshape2)
istazahn at gmail.com
Wed Jun 26 13:12:17 CEST 2013
I think the documentation is wrong. The Readme at
https://github.com/hadley/reshape says grand_row and grand_col have
been dropped. You should submit a bug report at
https://github.com/hadley/reshape/issues describing the documentation
On Wed, Jun 26, 2013 at 4:15 AM, Johannes Radinger
<johannesradinger at gmail.com> wrote:
> I'd like to get mean values for the margins of my casted data.frame.
> For the casting I am using dcast() from reshape2. However, when I set
> the margins parameter (margins=c("grand\_row")) I get following error
> an unrecognized escape character '\_'. So what is the correct command
> to get the outermost margins only in reshape2?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> 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