[Rd] cor.test(method = spearman, exact = TRUE) not exact (PR#14095)

2009-11-30 Thread dsimcha
Full_Name: David Simcha Version: 2.10 OS: Windows XP Home Submission from: (NULL) (173.3.208.5) > a <- c(1:10) > b <- c(1:10) > cor.test(a, b, method = "spearman", alternative = "greater", exact = TRUE) Spearman's rank correlation rho data: a and b S = 0, p-value < 2.2e-16 alternative

[Rd] Kendall's Tau should use Continuity Correction (PR#13691)

2009-05-07 Thread dsimcha
Full_Name: David Simcha Version: 2.9.0 OS: WinXP Submission from: (NULL) (96.234.244.142) > cor.test(c(1,2,3,4,5), c(8,6,7,5,3), method = "kendall") Kendall's rank correlation tau data: c(1, 2, 3, 4, 5) and c(8, 6, 7, 5, 3) T = 1, p-value = 0.08333 alternative hypothesis: true tau is