# Use package-internal list of oTree data frames
oTree <- gmoTree::oTree
# Show how much time all participants spent on app "survey"
apptime(oTree, apps = "survey")
# Show how much time the participant "a7dppel1" spent on
# the app "survey"
apptime(oTree, pcode = "a7dppel1", apps = "survey")
# Show how much time the participants in group 4 spent on
# the app "survey"
oTree <- make_ids(oTree,
gmake = TRUE,
from_var = "dictator.1.group.id_in_subsession"
)
apptime(oTree, group_id = 4, apps = "survey")
# Show how much time all participants spent on all apps
apptime(oTree)
Run the code above in your browser using DataLab