eval_basis: Evaluate the MRA basis

View source: R/eval_basis.R

eval_basisR Documentation

Evaluate the MRA basis

Description

Evaluate the MRA basis

Usage

eval_basis(
  locs,
  grid,
  basis_type = "wendland",
  use_spam = TRUE,
  ncores = 1L,
  nchunks = NULL
)

Arguments

locs

An N x 2 matrix of spatial locations

grid

A grid object that is the output of make_grid

basis_type

The basis function type. Currently only "wendland" is accepted

use_spam

Whether to use the spam (use_spam = TRUE) or Matrix (use_spam = FALSE) package for sparse matrices

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.