data("card")
# For the purpose of this example, we assume that only respondents living in
# the south or only white respondents have participated in the survey.
sampcompR::R_indicator(dfs=c("card","card"),
response_identificators = c("south","black"),
variables = c("age","educ","fatheduc","motheduc","wage","IQ"),
weight = c("weight","weight"))
Run the code above in your browser using DataLab