Description Usage Arguments Value Examples
View source: R/plot-etiology-side-by-side.R
@details In our cause_list, "A+B" represents the same cause as "B+A". It is used for plotting side-by-side posterior sample comparisons
1 | match_cause(pattern, vec)
|
pattern |
a vector of latent cause names, e.g., from a particular fit |
vec |
a vector of latent cause names, e.g., usually a union of cause names from several model fits. Usually, it is also the display order that one wants to show. |
A vector of length length(vec)
; NA
means no pattern matches
vec; 1 at position 10 means the first element of pattern
matches the
10th element of vec
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.