rddapp (version 1.1.0)

attr_check: Attrition Checks

Description

attr_check reports missing data on treatment variable, assignment variable, and outcome. Currently it only supports the design with one assignment variable. This is an internal function and is typically not directly invoked by the user. It can be accessed using the triple colon, as in rddapp:::attr_check().

Usage

attr_check(x1, y, t, x2 = NULL)

Arguments

x1

A numeric object, the assignment variable.

y

A numeric object, the outcome variable, with the same dimensionality as x.

t

A numeric object, the treatment variable, with the same dimensionality as x and y.

x2

A numeric object, the secondary assignment variable.

Value

A list with the missing data numbers and percentages for all variables and subgroups by treatment.