TOTVar {LOGAN} | R Documentation |
Time on task variable
Description
This is a function that reports the number of students and a summary of time on task aggregated by a specific variable.
Usage
TOTVar(data, starttime.vec, endtime.vec, divBy = NA, tot.var)
Arguments
data |
A |
starttime.vec |
a vector with the individuals' identifications. It is a
|
endtime.vec |
a vector with the group variable. It is a |
divBy |
a vector with the group variable. It is a |
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
m1$TOTVar(cp025q01.treated, "CP025Q01.START", "CP025Q01.END",
divBy = 60,
tot.var = "CP025Q01.TOT"
)
[Package LOGAN version 1.0.1 Index]