Hi there!
I´ve been analyzing a survey from the Dominican Republica called ENHOGAR 2021, for that I used:
library(survey)
library(srvyr)
The issue here is that my dataset has both weights and probabilities identified as "Factor_ expansión" and "Factor_ponderación" respectively.
I understand that for the as_survey_design() function to work you need one or the other, so you have to create two objects one with weights and one with probs.
Is there a way where I can use both variables in as_survey_design() function?