TOTVar: Time on task variable

Description Usage Arguments Value Examples

View source: R/TOTVar_m1.R

Description

This is a function that reports the number of students and a summary of time on task aggregated by a specific variable.

Usage

1
TOTVar(data, starttime.vec, endtime.vec, divBy = NA, tot.var)

Arguments

data

A matrix or data.frame

starttime.vec

a vector with the individuals' identifications. It is a quo() type.

endtime.vec

a vector with the group variable. It is a quo() type.

divBy

a vector with the group variable. It is a quo() type.

tot.var

string containing the name of the output variable

Value

This function returns a data.frame with the number of students and number de actions (min-max) aggregated by a specific variable.

Examples

1
2
m1$TOTVar(cp025q01.treated, "CP025Q01.START", "CP025Q01.END", divBy = 60,
          tot.var = "CP025Q01.TOT")

derecost/LOGAN documentation built on June 19, 2020, 6:40 p.m.