bme_map: Create BMEmapping object

View source: R/bme_map.R

bme_mapR Documentation

Create BMEmapping object

Description

Function that creates BMEmapping objects; objects that hold all the data information necessary for BME interpolation.

Usage

bme_map(ch, cs, zh, a, b)

Arguments

ch

A two-column matrix of coordinates for hard data locations.

cs

A two-column matrix of coordinates for soft data locations.

zh

A numeric vector of observed values at the hard data locations.

a

A numeric vector of lower bounds for soft interval data.

b

A numeric vector of upper bounds for soft interval data.

Value

A list containing the input arguments ch, cs, zh, a, and b, with class "BMEmapping".

Examples

ch <- matrix(c(1, 2, 3, 4), ncol = 2)
cs <- matrix(c(5, 6, 7, 8), ncol = 2)
zh <- c(10, 20)
a <- c(8, 9)
b <- c(12, 14)
obj <- bme_map(ch, cs, zh, a, b)
class(obj)  # "BMEmapping"


BMEmapping documentation built on Aug. 21, 2025, 5:55 p.m.