bilinearGradArray: Apply bilinearGrad to matrix of locations

View source: R/bilinearGrad.R

bilinearGradArrayR Documentation

Apply bilinearGrad to matrix of locations

Description

Apply bilinearGrad to matrix of locations

Usage

bilinearGradArray(locs, cov_list)

Arguments

locs

Matrix of locations (with two columns)

cov_list

List of J (number of covariates) "raster like" elements. A raster like element is a 3 elements list with named elements 1) "x" a vector of increasing x locations (at which the covariate is sampled) 2) "y" a vector of increasing y locations (at which the covariate is sampled) 3) "z" a size(x)*size(y) matrix giving covariate values at location (x, y)

Value

An array of dimension (n, 2, J), where n is the number of locations, and J is the number of covariates.


papayoun/Rhabit documentation built on July 19, 2023, 8:04 p.m.