simpleEffect.aov: Simple Effect - simpleEffect.aov

View source: R/simpleEffect.aov.R

simpleEffect.aovR Documentation

Simple Effect - simpleEffect.aov

Description

Perform the mixed anova for two levels: Time x Induction, in induction phase.

Perform the mixed anova for two levels: Time x Induction, in induction phase.

Usage

simpleEffect.aov(
  data,
  phase = NULL,
  quest = NULL,
  score = NULL,
  covariate = NULL
)

simpleEffect.aov(
  data,
  phase = NULL,
  quest = NULL,
  score = NULL,
  covariate = NULL
)

Arguments

data

data frame

phase

analysis phases. Mandatory parameter, it could be: 'induction', 'learning', or 'transfer'.

quest

Induction questionnaires: EVEA or SAM -> consider upper case.

score

Dependent variable you'll use, depending on the induction phase questionnaire: anger, sadness, fear, happiness for the EVEA; arousal, valence for the SAM.

covariate

Variable name to perform ANCOVA: EDS -> consider upper case.

Value

anova table of the simple effect according each phase.

anova table of the simple effect according each phase.

Examples

df<-data.frame('your data')
twoWay.aov(df, phase='induction', quest = 'EVEA', score = 'sadness')
twoWay.aov(df, phase='induction', quest = 'EVEA', score = 'sadness', covariate = 'EDS')
twoWay.aov(df, 'induction', 'EVEA', sadness')
twoWay.aov(df, 'induction', 'EVEA', sadness', 'EDS')

df<-data.frame('your data')
twoWay.aov(df, phase='induction', quest = 'EVEA', score = 'sadness')
twoWay.aov(df, phase='induction', quest = 'EVEA', score = 'sadness', covariate = 'EDS')
twoWay.aov(df, 'induction', 'EVEA', sadness')
twoWay.aov(df, 'induction', 'EVEA', sadness', 'EDS')


ezrp/R documentation built on June 22, 2022, 7:24 p.m.