describe_data_counts: Print out summary of student and school counts

View source: R/matchMultiResult.R

describe_data_countsR 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


matchMulti documentation built on March 27, 2022, 5:05 p.m.