This function categorizes occupancy arrangements into high, medium, or low risk based on provided criteria.
Arguments
- df
A data frame containing occupancy arrangement data.
- occupancy
Component column: Occupancy arrangement.
- high_risk
Character vector of high risk occupancy arrangements.
- medium_risk
Character vector of medium risk occupancy arrangements.
- low_risk
Character vector of low risk occupancy arrangements.
- undefined
Character vector of undefined response codes (e.g. "Prefer not to answer").