Closed fboehm closed 6 years ago
Check, also, for the possibility that one passes a single column covariate, but that every subject has the same value in it. Does my code handle this properly?
Done. Early in code for scan_pvl, we check these two conditions. Note that I changed the code from what was present when the initial issue was opened. As of today, we check subject IDs for all inputs and use only those subjects that are present in all objects.
In scan_pvl, I have stopifnot() to check that subject names in the various inputs are identical. I need to write unit tests to ensure that these checks work as intended.