plot.monomvn | R Documentation |
Functions for visualizing the output from bmonomvn
,
particularly the posterior standard deviation estimates of the mean
vector and covariance matrix, and samples from the solution to a
Quadratic Program
## S3 method for class 'monomvn'
plot(x, which=c("mu", "S", "Snz", "Sinz", "QP"),
xaxis=c("numna", "index"), main=NULL, uselog=FALSE, ...)
x |
a |
which |
determines the parameter whose standard deviation
to be visualized: the mean vector ( |
xaxis |
indicates how x-axis (or x- and y-axis in the case
of |
main |
optional text to be added to the main title of the plots;
the default of |
uselog |
a logical which, when |
... |
passed to |
Currently, this function only provides a visualization of the
posterior standard deviation estimates of the parameters, and
the distributions of samples from the posterior of the solution
to a specified Quadratic Program. Therefore
it only works on the output from bmonomvn
All types of visualization (specified by which
) are presented
in the order of the number of missing entries in the columns of the
data passed as input to bmonomvn
.
In the case of which = "mu"
this means that y-values are presented in the order x$o
, where
the x-axis is either 1:length(x$o)
in the case of
xaxis = "index"
, or x$na[x$o]
in the case of xaxis
= "numna"
. When which = "S"
is given the resulting
image
plot is likewise ordered by x$o
where the
x- and y-axis are as above, except that in the case
where xaxis = "numna"
the repeated counts of NA
s are
are adjusted by small increments so that x and y arguments to
image
are distinct. Since a boxplot
is
used when which = "QP"
it may be that xaxis = "index"
is preferred
The only output of this function is beautiful plots
Robert B. Gramacy rbg@vt.edu
https://bobby.gramacy.com/r_packages/monomvn/
bmonomvn
, print.monomvn
,
summary.monomvn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.