powered by
srank(outcome, strata, weights = NULL, group = NULL)
length(outcome)
factor
srank
strata_info <- with(cpsmarch2015, srank(income, big_class, weights = weight, group = education)) print(strata_info, digits = 3)
Run the code above in your browser using DataLab