Learn R Programming

LOGAN (version 1.0.1)

NumericTimeVar: Time var as a numeric vector

Description

This is a function that transforms a factor var time in numeric.

Usage

NumericTimeVar(data, vector.time)

Value

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

Arguments

data

A matrix or data.frame

vector.time

variable containing the time

Examples

Run this code
vector.time <- c("CP025Q01.END", "CP025Q01.START")
m1$NumericTimeVar(cp025q01.treated, vector.time)

Run the code above in your browser using DataLab