[Rd] buglet in dist() ?

Ben Bolker bolker at zoo.ufl.edu
Sun Sep 2 20:01:26 CEST 2007


  the first line of dist() says

 if (!is.na(pmatch(method, "euclidian")))

  shouldn't that be "euclidean" ?

---------------------
R version 2.5.1 (2007-06-27)
i486-pc-linux-gnu

locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C

attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "methods" 
[7] "base"    

other attached packages:
   bbmle     nlme
 "0.7.7" "3.1-84"



More information about the R-devel mailing list