simple_main_effects: Simple main effects Anova

View source: R/anova.R

simple_main_effectsR Documentation

Simple main effects Anova

Description

For each level of one independent variable, perform an Anova with another independent variable.

Usage

simple_main_effects(formula, by, data, table_only = TRUE)

Arguments

formula

The aov_car formula

by

The independent variable for each of whose levels a separate Anova is performed.

data

The data set.

table_only

If TRUE (default), only a data-frame of F-tests is returned. If FALSE, a list with each aov_car model is returned.

Value

A list of afex::afex_aov objects

Examples

simple_main_effects(log_rt ~ Error(subject/condition), by = keyboard, data = behmercrump)

mark-andrews/isdsr-pkg documentation built on Sept. 13, 2022, 11:47 p.m.