ROIpad ← Back to Search
stackoverflow › answer

Answer to: R code for a constrained randomization in a three-dimensional array?

Score: 0
Answered: Jan 28, 2026
User Rep: 4,236
This is excellent! I think I was unclear in the specification of the constraints, though: ideally the number of samples per treatment should be either 5 or 6 per X,Y coordinate for the treatments with more reps, and 3 or 4 for the treatments with fewer. That is reflected in the code I edited in to the answer.
r experimental-design
View Question ↗
Question
Parent Entity
Score: 2 • Views: 33
Site: stackoverflow