wrap.anova.simple: ANOVA (simple main effects)

Description Usage Arguments See Also Examples

View source: R/wrap.anova.simple.R

Description

Computes simple main effects for a two-way, between-subjects ANOVA. The function delegates the primary computations to testInteractions. Note that this function assumes categorical (i.e., unordered) independent variables and fixed effects. In the output, hp2 denotes partial eta squared.

Usage

1
wrap.anova.simple(dv1, iv1, iv2, adjustment = "none")

Arguments

dv1

Column vector containing the dependent variable

iv1, iv2

Column vectors containing the between-subjects independent variables. The function will test for simple main effects of iv1 separately at each level of iv2.

adjustment

String representing the method of p value adjustment ("none", "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", or "fdr").

See Also

testInteractions

Examples

1
wrap.anova.simple(dv1 = bdata$DV1, iv1 = bdata$IV1, iv2 = bdata$IV2)

michaelkardas/behavioralwrappers documentation built on Jan. 2, 2020, 7:46 a.m.