Transforms levels in a factor to 1 if they match condition of interest (
condition) or 0 otherwise (absent) or 0 otherwise (absent).
reorder_response_factor(response_fct, condition, absent)factorwith values (0, 1) where 1 matches condition of interest.
A factor with different categories (levels).
Name of category being the condition of interest.
Character vector of categories not corresponding to the condition of interest.