Imports a GRID into the R environment

Import_GRID(grid_path = NULL, to = "frame")

Arguments

grid_path

path to a directory containing a .GRID fileset.

to

character that specifies the format to import to (choose from "frame", "keras_data" and "DDRep")

Value

list of DDRep, list of matrix or data.frame dependend on the "to" parameter

Details

"frame" will return a data.frame like structure to the total Grid stored in the grid_path. "keras_data" will return a list containing an INPUT and OUTPUT element. The INPUT constitutes all relevant values from the CDF/CAF (namely reaction times and accuracy) in a matrix with each row corresponding to one parameter set in the OUTPUT. "DDRep" will convert the complete Grid to DDReps in a list.