[R] Help on R Functionality & Histogram

Shivi82 shivibhatia at ymail.com
Fri May 29 13:53:17 CEST 2015


Hello Experts, 
I have couple of questions on the analysis I am creating.
1) How does R adopt to changes. The case I have here is that the excel I
have started initially had to be modified because the data I had was on
hourly basis ranging from 0 to 23 hours. After Changes 0 was modified to 24
in hours. Now do I need to recall this excel again in R using read.csv
syntax or is there another way to do so i.e. a kind of reload option
2) I am creating a histogram. I need on x axis 24 hours to be displayed
separately as 0,1,2, and thereon. However it only shows till 20 which makes
the look awkward. Also all l need to resize the labels and if possible
inside the bars. It used the below code, axis fonts have changed but labels
give an error with this code

Code:- hist(aaa$Hours,main="Hourly Weight",xlab = "Time",breaks = 25,col =
"yellow",ylim = c(0,9000),
     labels=TRUE, cex.axis=0.6,cex.label=0.6)

Kindly advice on the both the questions. Thanks. 

Histogram.png <http://r.789695.n4.nabble.com/file/n4707886/Histogram.png>  



--
View this message in context: http://r.789695.n4.nabble.com/Help-on-R-Functionality-Histogram-tp4707886.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list