View source: R/ch.filterDataBetween.r
ch.filterDataBetween | R Documentation |
This function filters the data between a low threshold and/or a high threshold. It returns a list that contains a dataframe of the removed data, a dataframe of the the kept data, the number of datapoints removed, and the percentage of points removed.
ch.filterDataBetween(data, dataCol, lowThresh = NULL, highThresh = NULL)
data |
a dataframe containing the data. |
dataCol |
a string that specifies the name of the column in "data" on which the thresholds are to act. |
lowThresh |
the lower threshold that the data must be above to be kept. |
highThresh |
the higher threshold that the data must be below to be kept. |
a list containing: (datRemoved) a dataframe with the removed data; (datKept) a dataframe with the kept data; (numRemoved) the number of datapoints removed; (pRemoved) the proportion of datapoints removed.
ch.filterDataBetween (data=myDataFrame, "RT", 200, 5000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.