Description Usage Arguments Value Examples
This function initialises a random walk and represents it as a Gaussian Markov Random Field with mean mu
and precision matrix Q
. Only random walks along the real line, first-order and second-order variants are implemented for now. Also a data frame can be specified with more details on the GMRF.
1 | GMRF_RW(n = 10, order = 1, precinc = 1, df = data.frame())
|
n |
number of vertices |
order |
1 or 2, depending on the order of the random walk |
precinc |
precision constant (multiples the template precision matrix) |
df |
data frame of length |
Object of class GMRF with zero mean
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.