powered by
inclusionprobastrata(strat,nh)
balancedstratification
# the strata strat=c(1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,3) # size of the sample in the strata. nh=c(2,3,3) inclusionprobastrata(strat,nh)
Run the code above in your browser using DataLab