partition_observations: Partition observations into MRA grid

View source: R/partition_observations.R

partition_observationsR Documentation

Partition observations into MRA grid

Description

Partition the observation locations into MRA grids for use in mcmc_mra_vecchia()

Usage

partition_observations(locs, M)

Arguments

locs

is a n \times 2 matrix of observation locations.

M

The number of resolutions.

Value

A data.frame of partition ids for each location


jtipton25/BayesMRA documentation built on Feb. 28, 2024, 1:27 p.m.