Description Usage Arguments Examples
Produce posterior allocation plot of current active set.
1 | plot_structure(project, K = NULL, divide_ind_on = FALSE)
|
project |
an RgeoProfile project, as produced by the function
|
K |
which value of K to produce the plot for. |
divide_ind_on |
whether to add dividing lines between bars. |
1 2 3 4 | # Plot the structure for a single K value.
plot_structure(project = p, K = 2)
# Similarly, plot the allocation structure for every K.
plot_structure(project = p, divide_ind_on = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.