sim_deep_mra: Simulate deep MRA

View source: R/sim-deep-mra.R

sim_deep_mraR Documentation

Simulate deep MRA

Description

Simulate deep MRA

Usage

sim_deep_mra(
  N = 100^2,
  M = 1,
  n_coarse_grid = 20,
  n_layers = 3,
  sigma = 0.25,
  use_spam = FALSE,
  ncores = 1L,
  nchunks = NULL
)

Arguments

N

The number of locations

M

The number of resolutions in the MRA approximation to the Gaussian process

n_coarse_grid

The number of grid locations in the coarsest resolution of the MRA approximation to the Gaussian process

n_layers

The number of layers in the deep process

sigma

The observation standard deviation

use_spam

A logical value of whether to use the spam library (use_spam=TRUE) or the Matrix library (use_spam=FALSE) for sparse matrix calculations

ncores

The number of cores to use for parallelization

nchunks

The number of chunks to divide the distance calculation into. The default argument of NULL will use the same number of chunks as the number of cores.


jtipton25/sgMRA documentation built on Feb. 9, 2023, 4:53 a.m.