Description Usage Arguments Value Examples
View source: R/plot-etiology-side-by-side.R
get unique causes, regardless of the actual order in combo
1 | unique_cause(cause_vec)
|
cause_vec |
a vector of characters with potential combo repetitions written in scrambled orders separated by "+" |
a vector of characters with unique meanings for latent causes
1 2 | x <- c("A","B","A","CC+DD","DD+CC","E+F+G","B")
unique_cause(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.