I want to investigate the impact of marital status on the perceived sense of meaningfulness in people's live and control for gender and age.
So I have 6 different groups for marital status and an ordinal scale to assess meaningfulness. Marital status should be the predictor variable, age and gender the covariates.
What would be the correct way to formulate this model in R?