Carlos Gonzalez
2022-May-03 22:46 UTC
[R] After installing and loading package 'PMCMRplus' could not find function 'posthoc.kruskal.conover.test'
> source("~/.active-rstudio-document", echo=TRUE)> library(tidyverse)> library(PMCMRplus)> m1 <- c(83, 91, 94)> m2 <- c(91, 90, 81, 83)> m3 <- c(78, 82, 77)> pKW(list(m1, m2, m3), method = "Asymptotic")Ties are present, so p-values are based on conditional null distribution. Group sizes: 3 4 3 Kruskal-Wallis H' Statistic: 5.5031 Asymptotic upper-tail probability: 0.0638> posthoc.kruskal.conover.test(list(m1, m2, m3),+ p.adjust.methods = "BH") Error in posthoc.kruskal.conover.test(list(m1, m2, m3), p.adjust.methods "BH") : could not find function "posthoc.kruskal.conover.test">-- Saludos / Regards Carlos A. Gonzalez Mobile +598 94 234 653 caghpm at gmail.com [[alternative HTML version deleted]]
Ebert,Timothy Aaron
2022-May-04 11:25 UTC
[R] After installing and loading package 'PMCMRplus' could not find function 'posthoc.kruskal.conover.test'
Reading the documentation it looks like there might have been a name change as part of an update. Have you tried kwAllPairsConoverTest? The alternative is have you tried installing an older version of this package? Tim -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Carlos Gonzalez Sent: Tuesday, May 3, 2022 6:47 PM To: R. Help Mailing List <r-help at r-project.org> Subject: [R] After installing and loading package 'PMCMRplus' could not find function 'posthoc.kruskal.conover.test' [External Email]> source("~/.active-rstudio-document", echo=TRUE)> library(tidyverse)> library(PMCMRplus)> m1 <- c(83, 91, 94)> m2 <- c(91, 90, 81, 83)> m3 <- c(78, 82, 77)> pKW(list(m1, m2, m3), method = "Asymptotic")Ties are present, so p-values are based on conditional null distribution. Group sizes: 3 4 3 Kruskal-Wallis H' Statistic: 5.5031 Asymptotic upper-tail probability: 0.0638> posthoc.kruskal.conover.test(list(m1, m2, m3),+ p.adjust.methods = "BH") Error in posthoc.kruskal.conover.test(list(m1, m2, m3), p.adjust.methods "BH") : could not find function "posthoc.kruskal.conover.test">-- Saludos / Regards Carlos A. Gonzalez Mobile +598 94 234 653 caghpm at gmail.com [[alternative HTML version deleted]] ______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=sBngBVkrhiJLKZK56n2wRCDnONIK6RBO_bzLKyTXXTHKZoHKge-vT8jGirOhReG_&s=qahco4sshWBg-2vlNBFmdVm8N88SxQxczHI8H1HY7Rs&ePLEASE do read the posting guide https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=sBngBVkrhiJLKZK56n2wRCDnONIK6RBO_bzLKyTXXTHKZoHKge-vT8jGirOhReG_&s=nz2CBIPFa8dKBWFduWUirkW3YD8e24BbtDr6wyfn3Rw&eand provide commented, minimal, self-contained, reproducible code.