Closed mmardehali closed 12 months ago
Oops, yup this is a problem. Actually, you really shouldn't attempt an orthogonal design with restricted profiles as by eliminating prohibited rows from the design you are pretty much by definition not going to get an orthogonal design. I'll look into whether the {DoE.base} package can take a restricted set of profiles - that's the package I'm using under the hood for orthogonal design. I'm 99% sure it's "no", but I want to confirm. My instinct is to simply not allow this by adding a stop()
if someone is using a restricted profile set with the orthogonal method.
This was fixed in v0.5.0
This issue was previously fixed for Bayesian designs using cbc_design, however, if the method is changed to "orthogonal", restricted profiles still show up in the final orthogonal design, with NA as profileID (see lines 24, 31, and 36 of the results below). Also, running the following code issues a lot of the same warnings when creating orthogonal design. Details below:
Code:
Results:
Expanding warnings: