plot_structure: Posterior allocation plot

Description Usage Arguments Examples

View source: R/plot.R

Description

Produce posterior allocation plot of current active set.

Usage

1
plot_structure(project, K = NULL, divide_ind_on = FALSE)

Arguments

project

an RgeoProfile project, as produced by the function rgeoprofile_project().

K

which value of K to produce the plot for.

divide_ind_on

whether to add dividing lines between bars.

Examples

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)

Michael-Stevens-27/silverblaze documentation built on May 28, 2021, 5:47 p.m.