tally_schools {matchMulti}R Documentation

Tally schools and students in a given dataset

Description

Returns a count of schools, without printing anything.

Usage

tally_schools(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 two things: school and student counts (invisible).

Author(s)

Luke Miratrix

See Also

describe_data_counts


[Package matchMulti version 1.1.12.1 Index]