Learn R Programming

⚠️There's a newer version (1.3) of this package.Take me there.

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

188

Version

1.2.1.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Roman Flury

Last Published

April 1st, 2020

Functions in mrbsizeR (1.2.1.1)

fftshift

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

Multiresolution analysis of random signals for spherical data.
ifftshift

Inverse FFT shift of a 2d matrix.
HPWmap

Computation of pointwise and highest pointwise probabilities.
CImap

Computation of simultaneous credible intervals.
mrbsizer-package

A short title line describing what the package does
plot.smMeanSphere

Plotting of scale-dependent features on a sphere.
rmvtDCT

Sampling from marginal posterior multivariate t-distribution.
eigenLaplace

Generate eigenvalues of discrete Laplace matrix.
plot.CImapGrid

Plot of simultaneous credible intervals.
MinLambda

Numerical optimization for finding appropriate smoothing levels.
eigenQsphere

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

Plot of objective function for finding appropriate smoothing parameters.
TaperingPlot

Plot of tapering functions.
mrbsizeR

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

Plotting of simultaneous credible intervals on a sphere.
plot.smMeanGrid

Plotting of scale-dependent features.
tridiag

Generate a tridiagonal matrix.
turnmat

Turn matrix 90 degrees counter-clockwise.
mrbsizeRgrid

Multiresolution analysis of random signals.
dftMatrix

Create a n-by-n discrete Fourier transform matrix.
plot.HPWmapGrid

Plotting of pointwise and highest pointwise probabilities.
dctMatrix

Create a n-by-n discrete cosine transform matrix.
plot.HPWmapSphere

Plotting of pointwise and highest pointwise probabilities on a sphere.