Rounding strata sample sizes
SpecialRound.RdFunction for rounding strata sample sizes to ensure the total sample size remains the same
Examples
{
jj <- c(4.2, 4.2, 4.2, 4.3, 4.3, 4.4, 4.4)
SpecialRound(jj)
}
#> [1] 4 4 4 4 4 5 5
SpecialRound.RdFunction for rounding strata sample sizes to ensure the total sample size remains the same
{
jj <- c(4.2, 4.2, 4.2, 4.3, 4.3, 4.4, 4.4)
SpecialRound(jj)
}
#> [1] 4 4 4 4 4 5 5