spatial_gradient: Gradient and Curvature Assessment

View source: R/spatial_gradient.R

spatial_gradientR Documentation

Gradient and Curvature Assessment

Description

performs gradient and curvature assessment on the estimated surface from a hierarchical Bayesian spatial model. Parameters not listed are optional

Usage

spatial_gradient(
  coords = NULL,
  model = NULL,
  cov.type = c("matern1", "matern2", "gaussian", ),
  grid.points = NULL,
  nbatch = 200,
  return.mcmc = TRUE
)

Arguments

coords

coordinates for observed process (order L x 2)

model

the posterior samples from the MCMC fit

cov.type

covariance type (three available choices: Gaussian, Mat\'ern(\nu=3/2)), Mat\'ern(\nu=5/2)

grid.points

coordinates for grid over observed process (order n_G x 2)

nbatch

number of batches

return.mcmc

if true returns MCMC samples of gradients


arh926/spWombling documentation built on April 14, 2025, 4 p.m.