Friedman Rank Sum Test

Description: Performs a Friedman rank sum test with unreplicated blocked data. friedman.test can be used for analyzing unreplicated complete block designs (i.e., there is exactly one observation in y for each combination of levels of groups and blocks) where the normality assumption may be violated.

The null hypothesis is that apart from an effect of blocks, the location parameter of y is the same in each of the groups.

#| label = "GetRStatixPkg"
library(rstatix)
#| label = "{{DataName}}.ft"
{{DataName}}.ft = {{DataName}} |> friedman_test({{ResponseName}} ~ {{FactorName}} | {{BlockingName}})
{{DataName}}.ft |> kable(caption="Friedman test for {{ResponseName}} disaggregated by {{FactorName}}, and adjusting for {{BlockingName}}.")


Try the BrailleR package in your browser

Any scripts or data that you put into this service are public.

BrailleR documentation built on July 26, 2023, 5:46 p.m.