Re[2]: [R] problems with subset (misunderstanding somewhere)

From: Wladimir Eremeev <wl_at_eimb.ru>
Date: Tue 05 Apr 2005 - 23:50:41 EST

Ted,

TH> Did you test the function cubic.distance? Yes, I did.

TH> As written, I think it
TH> will always return a single value,
Yes, here was the misunderstanding.
Subset required a vector, and I gave it a scalar.

Prof. Ripley has already shown my mistake.

--
Best regards
Wladimir Eremeev                                     mailto:wl@eimb.ru

==========================================================================
Research Scientist, PhD                           Leninsky Prospect 33,
Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071,
Institute of Ecology,                             Phone: (095) 135-9972;
Russian Academy of Sciences                       Fax: (095) 135-9972

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Apr 05 23:53:57 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:01 EST