describe_data_counts {matchMulti}R Documentation

Print out summary of student and school counts

Description

Given a school ID and treatment variable, count up number of schools and students, print out a summary of the counts of students and schools.

Usage

describe_data_counts(data, school.id, treatment)

Arguments

data

Dataset (student level)

school.id

String name of ID column in data (the grouping variable)

treatment

String name of the treatment variable.

Value

List of three numbers, # control, # Tx, # Total

See Also

tally_schools


[Package matchMulti version 1.1.12 Index]