FAQ
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 mailing list archive at Nabble.com.

Search Discussions

  • Peter Ehlers at Feb 4, 2010 at 1:19 pm
    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:
    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
    --
    Peter Ehlers
    University of Calgary

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupr-help @
categoriesr
postedFeb 3, '10 at 9:00p
activeFeb 4, '10 at 1:19p
posts2
users2
websiter-project.org
irc#r

2 users in discussion

Peter Ehlers: 1 post Anna: 1 post

People

Translate

site design / logo © 2023 Grokbase