Re: [R] Question about making histogram and x must be numeric

2012-11-18 Thread David L Carlson
tion, TX 77843-4352 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of 9man > Sent: Sunday, November 18, 2012 3:45 PM > To: r-help@r-project.org > Subject: [R] Question about making histogram and x must be

Re: [R] Question about making histogram and x must be numeric

2012-11-18 Thread jim holtman
Most likely the value you are using in the 'hist' function is a factor. It would help if you included an 'str' of the object you are using. On Sun, Nov 18, 2012 at 4:45 PM, 9man wrote: > Hello all, > > I hope someone of you can help me out, I have searched other posts as well > but I can't find

[R] Question about making histogram and x must be numeric

2012-11-18 Thread 9man
Hello all, I hope someone of you can help me out, I have searched other posts as well but I can't find any solution to the problem I'm dealing with. I want to make a histogram from the data Telephone Lines MDGdataset <-read.csv("MDG_dataset_2010.csv", header=T) MDGdatasetAdapted <- subset(MDGdat