makePlot: Make super cool plots

Description Usage Arguments Value Examples

View source: R/makePlot.R

Description

Make super cool plots

Usage

1
2
3
4
5
6
7
makePlot(plotData = "plotData", time = "time", measurevar = "measurevar",
  type = "type", group = "group", xaxis = "interstimulus interval (sec)",
  yaxis = "residual reaction time (ms)", se = "se", barWidth = 0.03,
  legtitle = "Word Type", legcolors = c("firebrick1", "limegreen",
  "royalblue1"), leglevels = c("n", "w", "a"), leglabels = c("non-word",
  "non-associate", "associate"), plotorder = c("nomusic", "slowmusic",
  "fastmusic"), plottitles = c("No Music", "Slow Music", "Fast Music"))

Arguments

plotData

formatted data frame to use for plot

time

time variable for x-axis

measurevar

dependent variable for y-axis

type

grouping variable for stimulus type (what lines are split by)

group

grouping variable for experimental group (each on separate plot)

xaxis

label for x-axis

yaxis

label for y-axis

se

standard error value for error bars

barWidth

width of error bars (default .025)

Value

awesome plot of our formatted data; includes separate lines for stimulus type and separate plots for experimental group

Examples

1
   makePlot(mydata="mydata",time="time",measurevar="measurevar",type="type",group="group",xaxis="interstimulus interval (sec)",yaxis="residual reaction time (ms)",se="sem")

taylormez/bodhi documentation built on May 18, 2019, 8:10 p.m.