pitakakariki / simr

Power Analysis of Generalised Linear Mixed Models by Simulation
69 stars 19 forks source link

Extend and update model #152

Open pitakakariki opened 5 years ago

pitakakariki commented 5 years ago

Consider a case with multiple observation per subject, but on a single day:

y ~ trt + (1 | id)

We might want to extend along day, but then the model might be:

y ~ trt + (1 | id / day)

Need a way to easily update this.