knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(mixRSVP)
The variable "numItemsInStream" must be set - the number of items in the stream (must be the same on each trial). This variable will be passed to all the modeling functions.
The dataframe should contain one trial for each row. The columns must include:
Most of Alex's psychopy RSVP programs have two targets potentially, recorded on the same row of the psychopy data file. So, need to melt into separate rows, one for each target, while preserving trialnum. For an example, see https://github.com/alexholcombe/wordsLettersRSVPhorizVert/blob/master/analysis/importMBLdata.Rmd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.