Skip to content
Prev 132544 / 398506 Next

Reshape Dataframe

In which package do I find the "cast" function. At the moment it's not
recognized.
Thx,
Bert

-----Original Message-----
From: John Kane [mailto:jrkrideau at yahoo.ca] 
Sent: 19 December 2007 17:57
To: Bert Jacobs; 'hadley wickham'
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Reshape Dataframe

I think if you use Gabor's suggested addtion of
add.missing to the original cast command you get what
you want.

cast(dfm, ... ~ Var3, add.missing=TRUE)
--- Bert Jacobs <b.jacobs at pandora.be> wrote:

            
Looking for a X-Mas gift?  Everybody needs a Flickr Pro Account.

 

http://www.flickr.com/gift/