read_ar_files | R Documentation |
This function reads data from AR files that come from EMEGS.
read_ar_files(
data_folders = NULL,
patterns = NULL,
search_subfolders = F,
search_only_subfolders = F,
extract_channels = NULL,
baseline_pts = NULL,
select_time_points = NULL,
average_timepoints = F,
average_channels = F,
include_channel_name = F,
include_path_name = F,
include_file_name = F
)
data_folders |
select multiple data folders to search |
patterns |
One or more patterns to find files |
search_only_subfolders |
Argument to specify if the files in the parent folder should not be searched |
extract_channels |
Choose which channels to extract, must know numeric index (can be found in Emegs2d) |
baseline_pts |
Select baseline points to baseline the channels as they read in. Ex: c(0:50) which is the first 51 data points |
select_time_points |
Select time points to keep. Works after baselining. You select sample points not in millisecond. You will need to know your samplerate and scene onset |
average_timepoints |
Logical argument if selected time points should be averaged |
average_channels |
Logical argument to average selected channels together |
include_channel_name |
Logical argument for whether to put channel names in output dataframe |
include_path_name |
Logical argument for whether to put path name in output dataframe |
include_file_name |
Logical argument for whether to put file name in output dataframe |
search_subfolder |
Logical argument to specify if subfolder should be searched |
Returns a dataframe of the ERP data extracted from AR files
Andrew H Farkas, andrewhfarkas at g mail dot com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.