graph.phase: graph.phase

View source: R/graph.phase.R

graph.phaseR Documentation

graph.phase

Description

specific graphs for each phase

Usage

graph.phase(
  data,
  phase = NULL,
  quest = NULL,
  score = NULL,
  xlab = NULL,
  ylab = NULL,
  ylim = NULL
)

Arguments

data

data frame

phase

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

quest

Induction questionnaires: EVEA or SAM -> consider upper case

score

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

xlab

x-axis label

ylab

y-axis label

ylim

y-axis limit

Value

specific graphic useful in each experimental phase. We used mean and standard error bars.

Examples

df<-data.frame('your data')
graph.phase(df,phase='baseline')
graph.phase(df,phase='induction', quest = 'EVEA', score = 'sadness')
graph.phase(df, 'induction', EVEA', sadness')


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

Related to graph.phase in ezrp/R...