[R] I have trouble loading histogram :(

John Kane jrkrideau at inbox.com
Tue Sep 15 01:43:09 CEST 2015


This looks a lot like homework and we have a no homework policy.

However hist(south) is definitely not correct.  Hint south is a data,frame not the variable.
John Kane
Kingston ON Canada


> -----Original Message-----
> From: 2hanl2da at naver.com
> Sent: Mon, 14 Sep 2015 07:45:18 -0700 (PDT)
> To: r-help at r-project.org
> Subject: [R] I have trouble loading histogram :(
> 
> Make a histogram and boxplot of the data sets: *south.csv*.
> 
> south.csv (the following is how it is displayed in the excel file)
> x -> Acolumn, 1st row
> 12
> 10
> 10
> 13
> 12
> 12
> 14
> 7
> 16
> 18
> 8
> 29
> 12
> 14
> 33
> 10
> 6
> 18
> 11
> 25
> 8
> 16
> 14
> 11
> 10
> 20
> 14
> 11
> 12
> 13 ->  Acolumn, 31st row
> 
> This is the code I used to run but failed :(
> My solution:
> *south <- read.csv("C:/Users/Win/Desktop/south.csv")
> attach(south)
> hist(south)* --> When I ran this, it didn't work. Isn't this supposed to
> be
> correct? :(
> 
> Thanks!
> 
> 
> 
> 
> --
> View this message in context:
> http://r.789695.n4.nabble.com/I-have-trouble-loading-histogram-tp4712231.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!



More information about the R-help mailing list