consider a weighting variable when creating a frequency table

Hello, for a project I would like to analyse the question as to which party somebody would vote. However, when analysing the frequencies (for the individual parties), a weighting variable must be taken into account (so that the socio-economic status is represented as in the population).

Could you possibly give me a tip on how to output a frequency table in R-Studio taking a weighting variable into account? I would be very grateful for a hint.

Best wishes:

This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.