View source: R/visit_analysis.R
plot.VTDEC | R Documentation |
Plot a decision map based on a class VTDEC
object that contains the
current posterior analysis results
## S3 method for class 'VTDEC'
plot(x, margin = 0.003, nms = c("TT", "NME", "SE",
"UN"), col.reg = "pink", col.prob = "blue", cex.prob = 0.9,
cex.nms = 1, ...)
x |
A class |
margin |
Margin between regions in the decision map |
nms |
Labels of the regions on a decision map. Defaults are:
|
col.reg |
Background color of the selected region |
col.prob |
Text color of the selected region. |
cex.prob |
Text size of the probabilities |
cex.nms |
Text size of the region labels |
... |
Optional arguments for |
etas <- c(0.1, 0.3)
dec.cut <- c(0.6,0.6,0.6)
cur.obs.y <- c(3, 2, 1, 1)
prev.obs.y <- c(5, 2, 0, 0)
rst.inter <- vtInterim(cur.obs.y, prev.obs.y = prev.obs.y,
prob.mdl = "NONPARA", etas = etas, dec.cut = dec.cut,
nsmp = 2000);
plot(rst.inter)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.