| validate_grf_data | R Documentation |
Checks that input data meets requirements for GRF analysis
validate_grf_data(W, D, n.min)
W |
Numeric vector. Treatment indicator |
D |
Numeric vector. Event indicator |
n.min |
Integer. Minimum subgroup size |
Logical. TRUE if data is valid, FALSE with warning otherwise
W <- rep(0:1, each = 50)
D <- rbinom(100, 1, 0.6)
validate_grf_data(W, D, n.min = 60)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.