med2way: A two-way ANOVA for medians.

Description Usage Arguments Value References See Also Examples

View source: R/med2way.R

Description

This function computes a two-way ANOVA medians with interactions effects.

Usage

1

Arguments

formula

an object of class formula.

data

an optional data frame for the input data.

Value

Returns an object of class t2way containing:

Qa

first main effect

A.p.value

p-value first main effect

Qb

second main effect

B.p.value

p-value second main effect

Qab

interaction effect

AB.p.value

p-value interaction effect

call

function call

varnames

variable names

References

Wilcox, R. (2012). Introduction to Robust Estimation and Hypothesis Testing (3rd ed.). Elsevier.

See Also

t2way, med1way

Examples

1
med2way(attractiveness ~ gender*alcohol, data = goggles)

Example output

Call:
med2way(formula = attractiveness ~ gender * alcohol, data = goggles)

                value p.value
gender         0.5587  0.4548
alcohol        9.1983  0.0001
gender:alcohol 9.6640  0.0080

WRS2 documentation built on May 31, 2017, 2:07 a.m.