Description Usage Arguments Value Author(s)
This function applies Post-hoc analysis version of Friedman's Test. Note: This function doesn't handle NA's! In case of NA in Y in one of the blocks, then that entire block should be removed.
1 2 3 | friedman.posthoc(formu, data, to.print.friedman = T,
to.post.hoc.if.signif = T, to.plot.parallel = T, to.plot.boxplot = T,
signif.P = 0.05, color.blocks.in.cor.plot = T, jitter.Y.in.cor.plot = F)
|
formu |
is a formula of the shape: Y ~ X | block |
data |
is a long data.frame with three columns: [[ Y (numeric), X (factor), block (factor) ]]
|
Returns a list consisting of list(Friedman.Test = the.sym.test, PostHoc.Test = The.post.hoc.P.values)
Ivo Ugrina;
Adapted from Tal Galili's version, see:
http://www.r-statistics.com/2010/02/post-hoc-analysis-for-friedmans-test-r-code/
;
Original credit for linking online, to the package that performs the post hoc test, goes to 'David Winsemius', see:
http://tolstoy.newcastle.edu.au/R/e8/help/09/10/1416.html
;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.