Full_Name: Robert Chung
Version: 1.4.1
OS: Windows 98
Submission from: (NULL) (212.198.0.94)
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.
An example:> x <- rnorm(100)
> library(mass)
> 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"> ?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:
r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._