View source: R/plot_decision.R
PlotStackedBarDMF | R Documentation |
See Figure 1 for example.
PlotStackedBarDMF(
data,
dmf.label = "dmf",
dmf.category = NULL,
d.colors = c("grey60", "grey30", "grey10"),
d.labels = c("signature bond", "small cash bond", "large cash bond"),
legend.position = "none"
)
data |
A |
dmf.label |
Column name of DMF recommendation in the data. The default is |
dmf.category |
The name of each category of DMF recommendation. |
d.colors |
The color of each decision. |
d.labels |
The label of each decision. |
legend.position |
The position of legend. The default is |
A list of three ggplots.
data(psa_synth)
PlotStackedBarDMF(psa_synth, dmf.label = "DMF", d.colors = c(
"grey80",
"grey60", "grey30", "grey10"
), d.labels = c(
"signature",
"small", "middle", "large"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.