Description Usage Arguments Value Examples
View source: R/AllConstructor.R
This function initialises an object of class GMRF_basis
which defines a GMRF over a set of basis functions.
1 2 | GMRF_basis(G = new("GMRF"), Basis = new("Basis", pars = list(vars =
data.frame(x = c(1, 2)))))
|
G |
an object of class |
Basis |
an object of class |
Object of class GMRF_basis
(which inherits from class process
and is thus also a process block)
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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.