If I correctly understand, hist(rep(1, 100), col="lightblue", border="black",breaks=0:10*0.1)
see: "breaks" arg in ?hist On 2/7/07, Dong H. Oh <[EMAIL PROTECTED]> wrote: > Dear expeRts, > > > I'd like to picture histogram of ones. > > For example, > > > hist(rep(1, 100), col="lightblue", border="black") > > A bin is pictured ranging on [0,1] and range of x axis is also [0,1]. > > How can I adjust the bin range from [0,1] to [0.9, 1] ? > > I am looking forward to hearing from expeRt. > > > Sincerely, > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.
