powered by
This function computes a two-way ANOVA medians with interactions effects.
med2way(formula, data)
an object of class formula.
an optional data frame for the input data.
Returns an object of class t2way containing:
t2way
first main effect
p-value first main effect
second main effect
p-value second main effect
interaction effect
p-value interaction effect
function call
variable names
Wilcox, R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Elsevier.
t2way, med1way
med1way
# NOT RUN { med2way(attractiveness ~ gender*alcohol, data = goggles) # }
Run the code above in your browser using DataLab