trim_rt_trials_sd | R Documentation |
Applies corresponding ace_trims
to every session of data.
If trimming is to be done by range and by SD, we recommend calling trim_rt_trials_range
first, and then calling this function to trim by SD.
trim_rt_trials_sd( df, cutoff = 3, exclude = c("SAAT", "SAATIMPULSIVE", "SAATSUSTAINED"), verbose = TRUE )
df |
a This includes data loaded with the following methods:
|
cutoff |
numeric. Remove within-subject RTs further than this many SD from within-subject mean RT? Enter as one number. Defaults to 3. |
exclude |
character vector. Specify the names of modules (proper naming convention!)
that should be ignored. Defaults to all |
verbose |
logical. Print details? Defaults to |
Returns the input data, with RTs corresponding to offending trials rendered as NA.
Assumes the data.frame
is nested, with two columns:
module
(character) and data
(list, each containing a data.frame
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.