[Rd] typo in hist.Rd (PR#9355)

From: <deepayan.sarkar_at_gmail.com>
Date: Fri 10 Nov 2006 - 21:17:45 GMT

'Freedman' is misspelled (as 'Friedman') in src/library/graphics/man/hist.Rd. As a result, the help page currently implies that

breaks = "Fried"

is a valid argument to hist, but results in an error:

> hist(rnorm(100), breaks = "Fried")

Error in match.arg(tolower(breaks), c("sturges", "fd", "freedman-diaconis", :

        'arg' should be one of sturges, fd, freedman-diaconis, scott

> sessionInfo()

R version 2.5.0 Under development (unstable) (2006-11-06 r39797) i686-pc-linux-gnu

R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Nov 11 08:20:34 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 10 Nov 2006 - 22:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.