Description Usage Arguments Examples
Updates precision matrix from MVST object.
1 2 3 4 5 6 7 | setPrecision(.Object, Q)
## S4 method for signature 'GMRF'
setPrecision(.Object, Q)
## S4 method for signature 'GMRF_basis'
setPrecision(.Object, Q)
|
.Object |
object whose precision matrix will be changed |
new |
precision matrix |
1 2 3 4 | my_RW <- GMRF_RW(n=10, order=1, precinc =2, name="my_first_RW")
Q <- getPrecision(my_RW)
my_RW2 <- setPrecision(my_RW,Q + Imat(n=10))
Q2 <- getPrecision(my_RW2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.