Description Usage Arguments Examples
Returns a p-by-p matrix covariance matrix that is banded with respect to the
graph g and with local bandwidths given in the p-vector b.
| 1 | generate_gb_covariance(g, b, sigma = 0.01, cor = TRUE)
 | 
| g | a seed graph (with p vertices) | 
| b | a p-vector of local bandwidths | 
| sigma | sd of independent error to add to each node | 
| cor | whether to scale rows/cols to have variance 1 | 
| 1 2 3 | g <- igraph::graph.lattice(c(5, 4))
b <- rep(1, 20)
Sig <- generate_gb_covariance(g, b)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.