Just wanted to make sure I understand this: the sampleData() function generates each dataset based on one draw of the parameters from the posterior distribution. If we do this workaround method you suggested - which seems like combining the generated datasets and then splitting them by desired sample size - does that mean in any one of the resulted dataset, the observations may be generated from different posterior draws of the parameters?
If we would like a dataset (different sample size than the original data) where all observations are generated from the same posterior draw, would that be possible?