[R] After installing and loading package 'PMCMRplus' could not find function 'posthoc.kruskal.conover.test'

Ebert,Timothy Aaron tebert @end|ng |rom u||@edu
Wed May 4 13:25:32 CEST 2022


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 using r-project.org> On Behalf Of Carlos Gonzalez
Sent: Tuesday, May 3, 2022 6:47 PM
To: R. Help Mailing List <r-help using 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 using gmail.com

        [[alternative HTML version deleted]]

______________________________________________
R-help using 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&e=
PLEASE 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&e=
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list