attr_check | R Documentation |
attr_check
reports missing data on treatment variable, assignment variable, and outcome.
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().
attr_check(x1, y, t, x2 = NULL)
x1 |
A numeric object containing the assignment variable. |
y |
A numeric object containing the outcome variable, with the same dimensionality
as |
t |
A numeric object containing the treatment variable (coded as 0 for untreated and 1 for treated), with the same dimensionality
as |
x2 |
A numeric object containing the secondary assignment variable. |
attr_check
returns a list containing the amount and percentage of missing data for all variables and subgroups, by treatment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.