friedman.posthoc: Post-hoc analysis for Friedman's Test

Description Usage Arguments Value Author(s)

Description

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.

Usage

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)

Arguments

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) ]] p.adjust.methods.

Value

Returns a list consisting of list(Friedman.Test = the.sym.test, PostHoc.Test = The.post.hoc.P.values)

Author(s)

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;


iugrina/rgoodies documentation built on May 18, 2019, 7:12 a.m.