[R] Error message 'x' must be numeric

Ivette iva_mihaylova at mail.ru
Sat Aug 4 12:18:31 CEST 2012


http://r.789695.n4.nabble.com/file/n4639158/elgas2.csv elgas2.csv 
http://r.789695.n4.nabble.com/file/n4639158/histogramselgas.R
histogramselgas.R 

Hello,

I want to plot 9 histograms, and I prepare the data for this operation with
the usual command,
sapply(x, is.numeric), then I get a confirmation that all data are numeric.
Strangely, when I want to plot the histograms I get the error message:
'x' must be numeric. My  'x' is already numeric and I have no idea what's
wrong.
Could somebody tell me where the error is? I attach my .csv data and my R
code.

Thank you.



--
View this message in context: http://r.789695.n4.nabble.com/Error-message-x-must-be-numeric-tp4639158.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list