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

Carlos Gonzalez out|ook_4A79DB47CD92951A @end|ng |rom out|ook@com
Tue May 3 23:47:48 CEST 2022


> 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"
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list