get_trial_duration: Returns how long the trial took and removes potential pauses...

Description Usage Arguments

View source: R/brainvr-getters.R

Description

Returns how long the trial took and removes potential pauses in the log

Usage

1
2
3
4
5
6
7
8
get_trial_duration(
  obj,
  iTrial,
  without_pauses = FALSE,
  pause_limit = 5,
  path_limit = 1,
  ...
)

Arguments

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


BrainVR/brainvr-reader documentation built on Nov. 2, 2021, 11:09 a.m.