Re: [Rd] Canberra distance

2010-02-08 Thread Hank Stevens
csiro.au> writes: > > That is interesting. The first of these, namely > > sum(|x_i - y_i|) / sum(x_i + y_i) > > is now better known in ecology as the Bray-Curtis distance. Even more interesting is the typo in Henry & > Stevens "A Primer of Ecology in R" where the Bray Curtis distance formul

Re: [Rd] Incorrect Kendall's tau for ordered variables (PR#14207)

2010-02-08 Thread Marek Ancukiewicz
Dear Peter, Thank you. Although the documentation does mention numeric variables, one would intuitively expect cor() and cor.test() to work for ordered factors with methods "kendall" and "spearman". After all, these are nonparametric procedures, defined for ordinal scales, and the only informatio

Re: [Rd] bug in cut.POSIXt (with patch) (PR#14208)

2010-02-08 Thread Peter Dalgaard
I do not know why my bug report got so oddly encoded, I've reproduced it; hopefully it won't get mangled again. It did, unfortunately. Not your fault, it's just that Jitterbug is incapable of undoing Content-Transfer-Encoding on incoming mail, so if your mail transfer agent sends in base64,

Re: [Rd] bug in cut.POSIXt (with patch) (PR#14208)

2010-02-08 Thread diggsb
SSBkbyBub3Qga25vdyB3aHkgbXkgYnVnIHJlcG9ydCBnb3Qgc28gb2RkbHkgZW5jb2RlZCwgSSd2 ZSByZXByb2R1Y2VkIGl0OyBob3BlZnVsbHkgaXQgd29uJ3QgZ2V0IG1hbmdsZWQgYWdhaW4uDQoN ClN1bW1hcnk6DQoNCkZvciBjZXJ0YWluIHdlbGwgZm9ybWVkIGlucHV0cywgY3V0LlBPU0lYdCB3 aWxsIGdpdmUgYW4gZXJyb3IuDQoNCkV4YW1wbGU6DQoNCmN1dChhcy5QT1NJWGN0KCIy

[Rd] bug in cut.POSIXt (with patch) (PR#14208)

2010-02-08 Thread diggsb
U3VtbWFyeToNCg0KRm9yIGNlcnRhaW4gd2VsbCBmb3JtZWQgaW5wdXRzLCBjdXQuUE9TSVh0IHdp bGwgZ2l2ZSBhbiBlcnJvci4NCg0KRXhhbXBsZToNCg0KY3V0KGFzLlBPU0lYY3QoIjIwMDktMTEt MDEgMDQ6MDA6MDAiLCB0ej0iQW1lcmljYS9Mb3NfQW5nZWxlcyIpLCAiMSBkYXkiKQ0KDQpFeGFt cGxlIG91dHB1dDoNCg0KRXJyb3IgaW4gc2VxLmludCgwLCB0byAtIGZyb20sIGJ5KSA6

Re: [Rd] Incorrect Kendall's tau for ordered variables (PR#14207)

2010-02-08 Thread ripley
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --27464147-2083486994-1265648951=:12668 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 8 Feb 2010,

Re: [Rd] Incorrect Kendall's tau for ordered variables (PR#14207)

2010-02-08 Thread Prof Brian Ripley
On Mon, 8 Feb 2010, Peter Dalgaard wrote: m...@biostat.mgh.harvard.edu wrote: Full_Name: Marek Ancukiewicz Version: 2.10.1 OS: Linux Submission from: (NULL) (74.0.49.2) Both cor() and cor.test() incorrectly handle ordered variables with method="kendall", cor() incorrectly handles ordered vari

Re: [Rd] Incorrect Kendall's tau for ordered variables (PR#14207)

2010-02-08 Thread Peter Dalgaard
m...@biostat.mgh.harvard.edu wrote: > Full_Name: Marek Ancukiewicz > Version: 2.10.1 > OS: Linux > Submission from: (NULL) (74.0.49.2) > > > Both cor() and cor.test() incorrectly handle ordered variables with > method="kendall", cor() incorrectly handles ordered variables for > method="spearman

[Rd] Incorrect Kendall's tau for ordered variables (PR#14207)

2010-02-08 Thread msa
Full_Name: Marek Ancukiewicz Version: 2.10.1 OS: Linux Submission from: (NULL) (74.0.49.2) Both cor() and cor.test() incorrectly handle ordered variables with method="kendall", cor() incorrectly handles ordered variables for method="spearman" (method="person" always works correctly, while meth

Re: [Rd] tiny typo in translation (src/library/tools/po/R-de.po)

2010-02-08 Thread Duncan Murdoch
Martin Becker wrote: Dear developers, nearly not worth mentioning, but anyway: there is a tiny typo in a german translation file (in src/library/tools/po/R-de.po: 'erzuege' instead off 'erzeuge'). The attached (if it passes the filters...) patch (for revision 51109) should correct this. T

Re: [Rd] tiny typo in translation (src/library/tools/po/R-de.po)

2010-02-08 Thread Peter Dalgaard
Martin Becker wrote: > Dear developers, > > nearly not worth mentioning, but anyway: > there is a tiny typo in a german translation file (in > src/library/tools/po/R-de.po: 'erzuege' instead off 'erzeuge'). > The attached (if it passes the filters...) patch (for revision 51109) > should correct th

[Rd] tiny typo in translation (src/library/tools/po/R-de.po)

2010-02-08 Thread Martin Becker
Dear developers, nearly not worth mentioning, but anyway: there is a tiny typo in a german translation file (in src/library/tools/po/R-de.po: 'erzuege' instead off 'erzeuge'). The attached (if it passes the filters...) patch (for revision 51109) should correct this. Thanks, Martin -- Dr. M

Re: [Rd] p.adjust.Rd sugggestion

2010-02-08 Thread Martin Maechler
Thank you, Tobias, That's indeed a valuable small improvement, now done for R-devel. Martin > Tobias Verbeke > on Sun, 07 Feb 2010 21:35:52 +0100 writes: > L.S. > In the current version of ?p.adjust.Rd, one needs > to scroll down to the examples section to find > co