BSmake_tcplotdata: time course plots for eye tracking computes avg proportion...

Description Usage Arguments Examples

View source: R/BSmake_tcplotdata.R

Description

time course plots for eye tracking computes avg proportion and BOOTSTRAPPED by subject 95% CIs (for Dale).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
BSmake_tcplotdata(
  df,
  AOIs,
  subj,
  n = 100,
  ...,
  bin = CURRENT_BIN,
  bin_interval = 20,
  level = 0.95
)

Arguments

df

dataframe

AOIs

columnnames of AOIs (for eyelink trackers, the RIGHT_1_P, RIGHT_2_P,... columns)

subj

participant column

n

bootstrap samples. so.. R really..

...

variable names of experimental conditions

bin

BIN variable (for eyelink, this is the CURRENT_BIN column). Defaults to "CURRENT_BIN".

bin_interval

the time of each bin

level

confidence level, .95 by default

Examples

1
2
plottingdata <- BSmake_tcplotdata(df,AOIs=c(refprop,disprop),subj=Participant,fluency,gesture,n=1000)
tcplot(plottingdata,0,2000,lty=fluency)+facet_wrap(~gesture)

josiahpjking/jkr documentation built on Sept. 7, 2020, 3:54 a.m.