@DataAngler excellent idea, but a bit above my current programming skills. The simr package is easy to use, but I realize now this way uses double simulations, which is not simr's intended use. I did it this way because I needed to add a new variable to my data. Maybe simr has better ways of doing that.