Re: [R] details of cor function

2014-03-07 Thread Greg Snow
For how to find the source code, see the help desk article in the October 2006 R news newsletter (http://cran.r-project.org/doc/Rnews/Rnews_2006-4.pdf) which was the predacessor of the R journal. Have you looked at the variance of your jitters as well? that is what would make me more nervous (wid

Re: [R] details of cor function

2014-03-07 Thread David Parkhurst
Thank you for your response. The first part of my question was meant to ask "how do I actually find the source code?" I tried to find that, without success. As for my comfort with a method that gives variable answers, I've experimented by running 100 cases and take the average. When I've do

Re: [R] details of cor function

2014-03-07 Thread Greg Snow
You could run the cor function on a small dataset where you know the values of tau-a and/or tau-b (either because you hand computed them, or found an example on the internet showing the difference), that would give some good evidence as to which is used. Or you could look at the source code, R is

[R] details of cor function

2014-03-06 Thread David Parkhurst
How can I find out whether the cor function with method="Kendall" computes Kendall's tau-a or tau-b. I understand that tau-b deals better with ties, and I'm wanting to look for correlation in two variables that have lots of ties (especially lots of zeroes for one of them). The information pro