Re: [R] Histogram function from lattice package

2010-02-04 Thread Peter Ehlers
Is this what you want: singer1 <- subset(singer, voice.part == "Bass 1") brks <- seq(65, 75, 2) histogram( ~ height, data = singer1, breaks = brks) or, slightly different: histogram( ~ height, data = singer1, breaks = brks, scales = list(x = list(at = brks))) -Peter Ehlers anna wrote: H

[R] Histogram function from lattice package

2010-02-03 Thread anna
Hello everyone, does anyone have an idea of how I display the breakpoints on the x label when using the histogram funtion from lattice? - Anna Lippel -- View this message in context: http://n4.nabble.com/Histogram-function-from-lattice-package-tp1461735p1461735.html Sent from the R help m