[R] FW: Document1
Brett Stansfield
brett at hbrc.govt.nz
Wed Feb 2 03:52:26 CET 2005
> -----Original Message-----
> From: Brett Stansfield
> Sent: Wednesday, 19 January 2005 4:25 p.m.
> To: 'S.Ganesh at massey.ac.nz'
> Subject: Document1
>
> <<Doc1.doc>> I was trying to get R to analyse one variable of the file
> Chicken Weight. when I ask
>
> hist(data$weight)
> R says "x must be numeric"
> yet when I check the data using Editor, it says quite clearly that
> variable name weight is numeric.
> what am I doing wrong here? I have attached a view from the console
>
> Brett
> Brett Stansfield
> Environmental Scientist - Water Quality
> Hawke's Bay Regional Council
> 102 Vautier Street
> Private Bag 6006
> Napier
> Phone (06) 835-9200 extn 9334
> Fax (06) 835-3601
>
>
More information about the R-help
mailing list