get unique causes, regardless of the actual order in combo
Arguments
- cause_vec
a vector of characters with potential combo repetitions written in scrambled orders separated by "+"
Examples
x <- c("A","B","A","CC+DD","DD+CC","E+F+G","B")
unique_cause(x)
#> [1] "A" "B" "CC+DD" "E+F+G"