[R] Reshape:cast; error using "..." in formula expression.
Hadley Wickham
hadley at rice.edu
Sun Jun 12 19:03:27 CEST 2011
Yes, the basic problem is that you forgot to melt the data before
trying to cast it.
Hadley
On Thursday, June 9, 2011, misterbray <misterbray at gmail.com> wrote:
> Dennis, doing some more research, and it seems you actually can include the
> ... term directly in the formula: cf. page 8 of
> http://www.had.co.nz/reshape/introduction.pdf (that article also explains
> why you might want to do so). It seems including the ... term only works,
> however, when your value column actually has the name "value" (e.g. using
> the value="my.val" option yields the error). This was the "bug" that was
> catching me up yesterday.
>
> Thank you again Dennis,
> Yours,
> Rob
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Reshape-cast-error-using-in-formula-expression-tp3584721p3586597.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
More information about the R-help
mailing list