Skip to content
Prev 302656 / 398506 Next

reshape2's dcast() Adds NAs to Data Frame

Can you provide a reproducible example? See, e.g.,

http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

for information on how to do so.

My entirely unjustified guess is that the NAs appear for combinations
of factor levels that don't exist.

Michael
On Tue, Aug 7, 2012 at 4:45 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote: