if (FALSE) {
## example data
data(daydat)
## simulate
tosamp <- all_sims(daydat)
## sample
samp_sim(tosamp)
## sample and create test dataset
# test dataset is 30% size of monthly subsample using block sampling with size = 4
samp_sim(tosamp, missper = 0.3, blck = 4)
}
Run the code above in your browser using DataLab