R/mrbsizeRsphere.R
mrbsizeRsphere.RdmrbsizeRSphere is the interface of the scale space multiresolution method
for spherical data. Here, the differences of smooths as well as the posterior
credibility analysis are computed. The output can be analyzed with the plotting
functions plot.smMeanSphere, plot.CImapSphere
and plot.HPWmapSphere.
mrbsizeRsphere(posteriorFile, mm, nn, lambdaSmoother, prob = 0.95, smoothOut = FALSE)
| posteriorFile | Matrix with posterior samples as column vectors. |
|---|---|
| mm | Number of rows of the original object. |
| nn | Number of columns of the original object. |
| lambdaSmoother | Vector consisting of the smoothing levels to be used. |
| prob | Credibility level for the posterior credibility analysis. |
| smoothOut | Should the differences of smooths at neighboring scales be returned as output (FALSE by default)? |
A list containing the following sublists:
smMean Posterior mean of all differences of smooths created.
hpout Pointwise (PW) and highest pointwise (HPW) probabilities
of all differences of smooths created.
ciout Simultaneous credible intervals (CI) of all differences of
smooths created.
smoothSamples Samples of differences of smooths at neighboring scales,
as column vectors.
In contrast to mrbsizeRgrid, mrbsizeRsphere does not conduct
Bayesian signal reconstruction via sampling from a posterior distribution.
Samples of the posterior distribution have to be provided instead.
For further information and examples, see mrbsizeRgrid and
the vignette.