Description Usage Arguments Value Examples
Removes triggers/markings from ETG-4000 files. Triggers are replaced with 0. This functions can replace all triggers or every other trigger. The latter prepares data frames to be loaded into Homer2.
1 | remove_triggers(x, trigger = NULL, n = "every")
|
x |
A data frame with an ETG-4000 data. |
trigger |
An integer representign a trigger/marking to remove. |
n |
A character describing which trigger to remove. Allowed options: 'every' (default - removed all triggers) and 'every_other' (removes every other trigger - to prepare ETG-4000 data for loading into Homer2). |
A data frame.
1 2 3 4 5 | file_path <- system.file("extdata", "Hitachi_ETG4000_24Ch_Total.csv", package = "fnirsr")
ETG_header <- load_ETG4000_header(file_path)
ETG_data <-load_ETG4000_data(file_path, ETG_header)
remove_triggers(ETG_data, 1)
remove_triggers(ETG_data, 1, "every_other")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.