Learn R Programming

jmv (version 0.7.3.1)

anovaRMNP: Repeated Measures ANOVA (Non-parametric)

Description

Friedman

Usage

anovaRMNP(data, measures, pairs = FALSE, desc = FALSE, plots = FALSE,
  plotType = "means")

Arguments

data

the data as a data frame

measures

a vector of strings naming the repeated measures variables

pairs

TRUE or FALSE (default), perform pairwise comparisons

desc

TRUE or FALSE (default), provide descriptive statistics

plots

TRUE or FALSE (default), provide a descriptive plot

plotType

'means' (default) or 'medians', the error bars to use in the plot

Examples

Run this code

data('bugs', package = 'jmv')

anovaRMNP(bugs, measures = c('LDLF', 'LDHF', 'HDLF', 'HDHF'))

#
#  Friedman
#  ------------------------
#    X<U+00B2>      df    p
#  ------------------------
#    55.8     3    < .001
#  ------------------------
#

Run the code above in your browser using DataLab