powered by
Permute the strata slot within a '>gtypes object.
permuteStrata(g)
a '>gtypes object.
a '>gtypes object with the strata randomly permuted.
# NOT RUN { data(msats.g) msats.g <- stratify(msats.g, "fine") summary(msats.g) ran.msats <- permuteStrata(msats.g) summary(ran.msats) # }
Run the code above in your browser using DataLab