Closed acoppock closed 5 years ago
ps, I accomplished this by adding a simple = TRUE
argument to the simple_ra and simple_rs function. It's inelegant, but function arguments are literally the only way the checks learn about the design.
Thanks Neal!
The main trouble was telling the check functions about whether the design was "simple" or not. If the design is simple, then prob_unit can be different for each unit. If the design is complete, blocked, stratified, what have out, then prob_unit has to be constant within block, or cluster or block and cluster.
We've got decent test coverage on these too, I think!