getDurations: Calculate durations

Description Usage Arguments Value Examples

View source: R/common.R

Description

Calculate time spent on each item by all students. E.g. use this to set response to NA when the time spent is very few seconds.

Usage

1
getDurations(data, exclude = NULL, TAO.version = 33)

Arguments

data

A data.frame or a list of data.frames (e.g. from test modules)

exclude

Columns containing this text should not be counted in. Use text1|text2 to exclude more than one text

TAO.version

Numeric value of TAO version. Versions before 33 provided POSIX information on the duration. Version 33 and after provides seconds.

Value

Returns a list durations=durations,median=median,testMedian=testMedian,mean=mean,testMean=testMean,max=max,testMax=testMax

Examples

1
getDurations(data,exclude="notthiscolumn")

openPCI/OpenPCIScoring documentation built on June 10, 2021, 1:18 p.m.