Learn R Programming

LOGAN (version 1.0.1)

SummaryTOTbyVar: Summary of time on task by var

Description

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

Usage

SummaryTOTbyVar(data, tot.var, performance.item, na.rm = FALSE)

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

tot.var

a vector with the time on task.

performance.item

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

na.rm

remove missing data in `performance.item`? Default is `FALSE`

Examples

Run this code
m1$SummaryTOTbyVar(cp025q01.treated, "CP025Q01.TOT", "CP025Q01", TRUE)

Run the code above in your browser using DataLab