squall44 wrote: > Hello, > > I wanted to create a histogram, but somehow I got stuck... > > The interval limits are: x = 1, 2, 3, 3.5, 4.5, 5, 5.5 > The interval widths are therefore: 1, 1, 0.5, 1, 0.5, 0.5
Please read the help page more carefully! See ?hist and its argument "breaks". Uwe Ligges > Nothing I tried worked... Can anyone help me please? > Thanks > Tobias ______________________________________________ R-help@stat.math.ethz.ch 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.