I am analysing a complex survey data. I want to calculate the proportion of smoking among rural men and urban men and alcohol consumption. I used separate code like below. Is it possible to get the same result using one code for urban_rural and alcohol?
svyciprop(~smoking, subset(svs1, urban_rural =='rural'), method = "likelihood")
svyciprop(~smoking, subset(svs1, urban_rural =='urban'), method = "likelihood")
svyciprop(~smoking, subset(svs1, alcohol =='yes'), method = "likelihood")
svyciprop(~smoking, subset(svs1, alcohol =='no'), method = "likelihood")