ch.removeBadSNs | R Documentation |
This function removes bad subjects' data from a dataframe. A filename containing the bad subject IDs are passed to the function. This file should just be a vector (vertical in file) of IDs
ch.removeBadSNs(data, snCol, badSNfilename)
data |
a dataframe. |
snCol |
a string that specifies the name of the column in "data" that contains the subject number. |
badSNfilename |
the filename containing the IDs of the bad SNs. |
a dataframe without the bad subjects' data.
ch.removeBadSNs (data, "sn", "badSN.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.