Using "survey" package to create a 2 by 4 table for chisquare test

Hi!

To help us help you, could you please turn this into a self-contained reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: