GMRF_basis: GMRF function over basis

Description Usage Arguments Value Examples

View source: R/AllConstructor.R

Description

This function initialises an object of class GMRF_basis which defines a GMRF over a set of basis functions.

Usage

1
2
GMRF_basis(G = new("GMRF"), Basis = new("Basis", pars = list(vars =
  data.frame(x = c(1, 2)))))

Arguments

G

an object of class GMRF

Basis

an object of class Basis

Value

Object of class GMRF_basis (which inherits from class process and is thus also a process block)

Examples

1
2
3
G <- GMRF_RW(n=9)
Basis <-  initGRBFbasis(x = c(0,1), y = c(0,1), std=0.1,nx=9,ny=1)
print(GMRF_basis(G,Basis))

shazhe/mvst0 documentation built on May 29, 2019, 9:20 p.m.