[Rd] truehist (MASS) nbins problem (PR#1396)
Tue, 19 Mar 2002 21:50:05 +0100 (MET)
Full_Name: Robert Chung
OS: Windows 98
Submission from: (NULL) (220.127.116.11)
If I try to use the nbins="FD" argument to truehist, I get an
error that says nclass.fd can't be found. If I edit the
truehist function to look for nclass.FD the function works
as I expect.
> x <- rnorm(100)
> truehist(x,nbins="scott") # This works
> truehist(x,nbins="FD") # This doesn't
Error in switch(casefold(nbins), scott = nclass.scott(data), "freedman-diaconis"
= , :
couldn't find function "nclass.fd"
Error in help("nclass.fd") : No documentation for `nclass.fd' in specified
packages and libraries:
you could try `help.search("nclass.fd")'
> ?nclass.FD # this finds the proper help page
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com