View source: R/brainvr-getters.R
Returns how long the trial took and removes potential pauses in the log
1 2 3 4 5 6 7 8 | get_trial_duration(
obj,
iTrial,
without_pauses = FALSE,
pause_limit = 5,
path_limit = 1,
...
)
|
obj |
BrainVr object with preprocessed player log |
iTrial |
trial index (starting with 1) |
without_pauses |
Should the reported duration be calculated without pauses? Defaults to FALSE |
pause_limit |
minimum time to be considered pause. Defaults to 5 |
path_limit |
maximum distance to be considered not moving. Defaults to 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.