rgeospde: Function to simulate from a spatial/spatio temporal SPDE...

Description Usage Arguments Value

View source: R/rgeospde.r

Description

Function to simulate from a spatial/spatio temporal SPDE model

Usage

1
2
rgeospde(locs = NULL, mesh = NULL, kappa = NULL, sigma2 = 1, n = 1,
  rho = 0.9, seed = 1, non.stat = NULL)

Arguments

locs

a matrix of locations at which the values are to be simulated

mesh

a “mesh” object i.e. delauney triangulation of the domain, an object returned by make.mesh.

kappa

a numeric constant, parameter of the SPDE model.

sigma2

a numeric constant, parameter of the SPDE model, by default this is 1.

n

a numeric constant defining the number of time points, by default 1.

rho

the ar1 correlation coefficient for spatio-temporal samples, by default this is 0.9.

seed

seed for the simulation, by default this is 1

non.stat

a named list the first element fn the spatial function which kappa varies with and theta a vctor of length 3 specifying the theta values of the non-stationary model

Value

A matrix of values each column a set of observations at each time point


cmjt/lgcpSPDE documentation built on July 25, 2019, 3:05 p.m.