gf: Function to handle the gaussian field construction

Description Usage Arguments

View source: R/dataSetup.R

Description

This function specifies the gaussian field used within a spatialALK formula

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
gf(
  loc_x,
  loc_y,
  model = "barrier",
  mesh = NULL,
  barrier.triangles = NULL,
  rangeKey = NULL,
  sdUkey = NULL,
  ageKey = NULL,
  year = NULL
)

Arguments

loc_x

The x coordinates of the spatial data

loc_y

The y coordinates of the spatial data

model

specify whether the model is basic spde or barrier

mesh

The mesh used to build the precision matrix

barrier.triangles

the set of triangles in the barrier of the mesh, only for barrier model

rangeKey

optionally specify which age groups to share ranges in the precision matrices, default is all ages unique

sdUkey

optionally specify which age groups to share sigma_u's in the precision matrices, default is all ages unique

ageKey

for spatAR, specify age groups share same settings

year

factor variable indicating the year to use


jgbabyn/barrierALK documentation built on Dec. 20, 2021, 11:09 p.m.