create_operator: Create operator components.

View source: R/operator.R

create_operatorR Documentation

Create operator components.

Description

A function to compute a list of objects for the operator.

Usage

create_operator(
  locs,
  name = "matern",
  right.boundary = "neumann",
  left.boundary = "neumann",
  common.grid = FALSE,
  extend = NULL,
  max.dist,
  cutoff = 1e-10,
  n.cores = 1
)

Arguments

locs

A numeric list of measurement locations.

name

A character string for the operator type, possible options are "matern", "exponential" and "fd2".

right.boundary

A character string denoting the boundary condition for the right boundary.

left.boundary

A character string denoting the boundary condition for the left boundary.

common.grid

A logical variable for using a common grid for all subjects, "TRUE" indicates using a common grid, "FALSE" uncommon grids.

extend

A numeric vector with two elements specifying the amount of extension of the grid to the left and right beyondthe measurement locations.

max.dist

A numeric value for largest distance between nodes in the discretization

Details

This is a supplementary function to be used internally by other functions.

See Also

estimateLong

Examples

  ## Not run: 
  create_operator(...)
  
## End(Not run)


davidbolin/ngme documentation built on Dec. 5, 2023, 11:48 p.m.