Skip to content

dist function suggestion

2 messages · Brian Ripley, Friedrich Leisch

#
You will need to call it something else: dist is a clone of an S function,
and dist(X, "manhattan") is well-established usage.

I pointed out to R-core recently that "euclidian" will cause problems
for those who know how to spell it .... (-ean in my dictionaries, and
in S).
#
PBR> You will need to call it something else: dist is a clone of an S fun=
ction,
PBR> and dist(X, "manhattan") is well-established usage.

well, I don't think we need to call it something different, it's just
that the y argument may not be the 2nd one ...=20



PBR> I pointed out to R-core recently that "euclidian" will cause problem=
s
PBR> for those who know how to spell it .... (-ean in my dictionaries, an=
d
PBR> in S).

fixed (now both are legal)

--=20
-------------------------------------------------------------------
                        Friedrich  Leisch=20
Institut f=FCr Statistik                     Tel: (+43 1) 58801 10715
Technische Universit=E4t Wien                Fax: (+43 1) 58801 10798
Wiedner Hauptstra=DFe 8-10/1071      Friedrich.Leisch@ci.tuwien.ac.at
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch
     PGP public key http://www.ci.tuwien.ac.at/~leisch/pgp.key
-------------------------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._