Unlike other random number generators, rmultinom throws errors when dealing with NAs. Added a wrapper around rmultinom to use in simulate methods, so that it just returns NAs instead:
Thanks for catching that bug. We might want to announce it on the Google group because I bet it is one reason why people have been reporting lack of fit.
Unlike other random number generators,
rmultinom
throws errors when dealing with NAs. Added a wrapper aroundrmultinom
to use insimulate
methods, so that it just returns NAs instead:Also, and probably more importantly, fixed a major bug in
simulate
forunmarkedGDS
objects.Previously:
Now:
Fixes #163