Learn R Programming

mrbsizeR

Installation

The preferred way to install mrbsizeR from CRAN is:

install.packages("mrbsizeR")

You can install the mrbsizeR devel version from github with:

# install.packages("devtools")
devtools::install_github("romanflury/mrbsizeR")

Example

# 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, turn_out = TRUE)

# Credibility analysis using simultaneous credible intervals
plot(x = mrbOut$ciout, turn_out = TRUE) 

Copy Link

Version

Install

install.packages('mrbsizeR')

Monthly Downloads

277

Version

1.3.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Roman Flury

Last Published

July 6th, 2026

Functions in mrbsizeR (1.3.1)

turnmat

Turn matrix 90 degrees counter-clockwise.
dftMatrix

Create a n-by-n discrete Fourier transform matrix.
eigenQsphere

Generate eigenvalues of precision matrix Q on the surface of a sphere.
ifftshift

Inverse FFT shift of a 2d matrix.
MinLambda

Numerical optimization for finding appropriate smoothing levels.
HPWmap

Computation of pointwise and highest pointwise probabilities.
fftshift

Swap the quadrants or halves of a 2d matrix.
CImap

Computation of simultaneous credible intervals.
eigenLaplace

Generate eigenvalues of discrete Laplace matrix.
dctMatrix

Create a n-by-n discrete cosine transform matrix.
TaperingPlot

Plot of tapering functions.
mrbsizeRgrid

Multiresolution analysis of random signals.
plot.HPWmapGrid

Plotting of pointwise and highest pointwise probabilities.
mrbsizeRsphere

Multiresolution analysis of random signals for spherical data.
plot.minLambda

Plot of objective function for finding appropriate smoothing parameters.
plot.CImapSphere

Plotting of simultaneous credible intervals on a sphere.
mrbsizeR-package

mrbsizeR: Scale space multiresolution analysis in R.
plot.smMeanGrid

Plotting of scale-dependent features.
plot.HPWmapSphere

Plotting of pointwise and highest pointwise probabilities on a sphere.
plot.CImapGrid

Plot of simultaneous credible intervals.
plot.smMeanSphere

Plotting of scale-dependent features on a sphere.
rmvtDCT

Sampling from marginal posterior multivariate t-distribution.
tridiag

Generate a tridiagonal matrix.