Produce plots of the estimated
posterior mean and 95% posterior intervals of A,P, Sigma
based on the MCMC samples in bmrm
.
# S3 method for bmrm
plot(x, type = "both", ...)
plot
an object of class bmrm
, the output of the function bmrm
name of a variable (default="P"). It should be one of "P"(source composition or profile matrix P), "A"(source contribution matrix A), "both" (both P and A), "Sigma" (error variance).
arguments to be passed to methods
The following types of plots are drawn depending on the selected parameters:
P: bar plots of the posterior means with 95% posterior intervals of elements for each row of P
A: time series plots of posterior means with 95% posterior intervals elements for each column of A
Sigma: posterior means with error bars for 95% posterior intervals of elements of Sigma