Closed maj-biostat closed 2 years ago
Thanks for your bug report - this appears to only happen when N = 1 and number of conditions > 1.
@acoppock I've attached a quick PR to fix this specific case, but there's several other instances of using sample(D)
instead of sample(D, length(D))
that probably have the same behavior. One-argument sample sample(D)
is different when D is length-one.
Reproducible example: