pitakakariki / simr

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

powerCurve defaults #121

Open pitakakariki opened 6 years ago

pitakakariki commented 6 years ago

It's very easy for the default behaviour not to make sense, e.g. here.

Probably too late to force users to specify the along argument? (Might not be if it's timed with the extend changes.) If it's missing we should at least generate a message explaining what default has been chosen.

In some cases random subsetting might make more sense than ordered steps, especially if the "along" variable is just the row number.

pitakakariki commented 6 years ago

Need to at least give a helpful error if along isn't specified.