Look at your 'str(mdat)' and you will see that there is not a variable
call 'mpg'; it is one of the levels of the 'variable'.
On Mon, Jan 26, 2009 at 11:38 AM, MW Frost wrote:
> Hi everyone. Long time listener, first-time caller here.
>
> I have a data set that's been melted with the excellent re
Hi everyone. Long time listener, first-time caller here.
I have a data set that's been melted with the excellent reshape package, but
I can't seem to cast it the way I need to.
Here's the melted data's structure:
> str(mdat)
'data.frame': 6978 obs. of 4 variables:
$ VehType : Factor w/ 2 leve
2 matches
Mail list logo