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:
Luis