Maps with simultaneous credible intervals for all differences of smooths at neighboring scales \(z_{i}\) are plotted.
# S3 method for CImapGrid plot(x, color = c("firebrick1", "gainsboro", "dodgerblue3"), turnOut = TRUE, title, aspRatio = 1, ...)
x | List containing the simultaneous credible intervals for all differences of smooths. |
---|---|
color | Vector of length 3 containing the colors to be used in the credibility maps. The first color represents the credibly negative pixels, the second color the pixels that are not credibly different from zero and the third color the credibly positive pixels. |
turnOut | Logical. Should the output images be turned 90 degrees counter-clockwise? |
title | Vector containing one string per plot. The required
number of titles is equal to |
aspRatio | Adjust the aspect ratio of the plots. The default |
... | Further graphical parameters can be passed. |
Plots of simultaneous credible intervals for all differences of smooths are created.
The default colors of the maps have the following meaning:
Blue: Credibly positive pixels.
Red: Credibly negative pixels.
Grey: Pixels that are not credibly different from zero.
x
corresponds to the ciout
-part of the output
of mrbsizeRgrid
.
# Artificial sample data set.seed(987) sampleData <- matrix(stats::rnorm(100), nrow = 10) sampleData[4:6, 6:8] <- sampleData[4:6, 6:8] + 5 # Generate samples from multivariate t-distribution tSamp <- rmvtDCT(object = sampleData, lambda = 0.2, sigma = 6, nu0 = 15, ns = 1000) # mrbsizeRgrid analysis mrbOut <- mrbsizeRgrid(posteriorFile = tSamp$sample, mm = 10, nn = 10, lambdaSmoother = c(1, 1000), prob = 0.95) # Posterior mean of the differences of smooths plot(x = mrbOut$smMean, turnOut = TRUE)