I tried to read a dataset and then draw a histogram with a freqeuncy density curve fitted on the top of this. I used the command res <- read.table("C:/Documents and Settings/Desktop/res.dat") and found> res[1:5]??????? V1?????? V2?????? V3????????? V4????? ?V5 1? -0.4806? 0.5075? 0.0491? -0.7985?? -0.666 Then I got the following when I troied to plot it> hist(res)?Error in hist.default(res) : 'x' must be numeric Even I tried> hist(res[,2])which is showing a blank plot. My suspision is something is wrong in the way the data was read (with V1, V2, V3?etc). Can?someone please help me how to get rid of this problem ? ? [[alternative HTML version deleted]]
I tried to read a dataset and then draw a histogram with a freqeuncy density curve fitted on the top of this. I used the command res <- read.table("C:/Documents and Settings/db/Desktop/res.dat") and found> res[1:5]?????? V1???? V2???? V3????? V4???? V5 1 -0.4806 0.5075 0.0491 -0.7985 -0.666 Then I got the following when I troied to plot it> hist(res)?Error in hist.default(res) : 'x' must be numeric Even I tried> hist(res[,2])which is showing a blank plot. My suspision is something is wrong in the way the data was read (with V1, V2, V3?etc). Can?someone? please help me how to get rid of this problem ? ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Maybe Matching Threads
- zaptel.conf in /etc not /etc/asterisk - historical reason?
- Regression Error: Otherwise good variable causes singularity. Why?
- Bad message_id occasionally when connecting a MacOS to a freebsd running 4.8.2
- Standard deviation and Mean
- Bad message_id occasionally when connecting a MacOS to a freebsd running 4.8.2