Help with R plots
try hist(gender$HeartRate,main='Histogram: HeartRate distribution for Temperature Data') Weidong Gu
On Wed, Oct 12, 2011 at 8:44 PM, Jonathan Edwin <jedwin80 at gmail.com> wrote:
Hi all, Mind my ignorance and complete newbiness, but I am very new to R and am currently learning it through my stats course at university. My question is regarding adding titles to plots. I'll post the code below, and then explain my issue:
hist(gender$HeartRate) title(Histogram: HeartRate distribution for Temperature Data)
So what R has done, is paste over the title I entered above over the generic title that was already there. Does anyone know how to remove the old title so that only the one I want shows? Also help with editting the X and Y axis titles would be great! Cheers, Jonathan -- ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list 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.