Learn R Programming

matchMulti (version 1.1.12.1)

describe_data_counts: 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)

Value

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

Arguments

data

Dataset (student level)

school.id

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

treatment

String name of the treatment variable.

See Also

tally_schools