plot.NMixPredDensMarg {mixAK} | R Documentation |
This is a basic plotting tool to visualize computed marginal
predictive densities, see NMixPredDensMarg
.
## S3 method for class 'NMixPredDensMarg': plot(x, K=0, auto.layout=TRUE, type="l", col="darkblue", lty=1, lwd=1, main, xlab, ylab, ...)
x |
an object of class NMixPredDensMarg . |
K |
if equal to 0 then the overall predictive densities
are plotted taken from the dens part of the object x .
If higher than 0 then the predictive density conditioned by
the value of K is plotted (taken from the densK part
of the object x ).
|
auto.layout |
if TRUE then the function determines itself
how to divide the plotting region to draw densities for all margins.
|
type |
type of the plot. |
col |
color used to draw the lines. |
lty |
type of the line. |
lwd |
line width. |
main |
main title of the plot. Either character which is replicated or a vector of characters of the length equal to the number of margins. |
xlab |
label for the x-axis. Either character which is replicated or a vector of characters of the length equal to the number of margins. |
ylab |
label for the y-axis. Either character which is replicated or a vector of characters of the length equal to the number of margins. |
... |
additional arguments passed to the plot function. |
invisible(x)
Arnošt Komárek arnost.komarek[AT]mff.cuni.cz
Komárek, A. A new R package for Bayesian estimation of multivariate normal mixtures allowing for selection of the number of components and interval-censored data. Computational Statistics and Data Analysis, 53, 3932–3947.
## See additional material available in ## YOUR_R_DIR/library/mixAK/doc/ ## or YOUR_R_DIR/site-library/mixAK/doc/ ## - files Galaxy.pdf, Faithful.pdf, Tandmob.pdf