Learn R Programming

LOGAN (version 1.0.1)

RangeNumberActionsbyVar: Check number of students and actions by var

Description

This is a function that reports the number of students and number de actions (min-max) aggregated by a specific variable.

Usage

RangeNumberActionsbyVar(data, id.var, var.group, save.table = TRUE)

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

id.var

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

var.group

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

save.table

if TRUE, will save the table generated as an object of class data.frame. Otherwise, will print the table in pandoc format, but the object will not be saved (even if the user assigns it to an object)

Examples

Run this code
m0$RangeNumberActionsbyVar(cp025q01.treated, NewID, CNT, save.table = FALSE)

Run the code above in your browser using DataLab