Skip to content
Prev 132557 / 398506 Next

Reshape Dataframe

On Dec 20, 2007 4:56 PM, Bert Jacobs <b.jacobs at pandora.be> wrote:
In that case you'll need to specify an aggregation function.  You probably want:

cast(dfm, ... ~ Var3, function(x) paste(x, collapse="/"), add.missing=TRUE)