powered by
This is a function that transforms a factor var time in numeric.
NumericTimeVar(data, vector.time)
This function returns a data.frame with the number of students and number de actions (min-max) aggregated by a specific variable.
data.frame
A matrix or data.frame
matrix
variable containing the time
vector.time <- c("CP025Q01.END", "CP025Q01.START") m1$NumericTimeVar(cp025q01.treated, vector.time)
Run the code above in your browser using DataLab