toy_controller: Generate a toy controller dataset based on a paradigm

View source: R/toy_data.R

toy_controllerR Documentation

Generate a toy controller dataset based on a paradigm

Description

Generate a toy controller dataset based on a paradigm

Usage

toy_controller(paradigm = NULL)

Arguments

paradigm

data.table with format stimulus, start, off

Value

data.table with one column per stimulus in paradigm and one row per sampling timepoint. The value of the i,j cell states whether the ith stimulus was on at time j. If NULL, an emtpy data.table is returned instead


shaliulab/idocr documentation built on June 1, 2025, 4:59 p.m.