I am using the same script across varying subsets of data. Encountered one subset of data where there are 0 observations from the test group, therefore need to select 0 observations from the control group.
Is there some syntax or something I am missing to select 0 observations?
library("sampling")
st <- replicate(10, strata(df,stratanames=c("Stratum"),size=c(2,16,20,0,19,5,26), method="srswor"))