Description Usage Arguments Value Examples
Generate latent variable dependent network.
1 | latent.netdep(n.node, rho = 0.3, dep.factor = 1, dep.range = c(-5, 5))
|
n.node |
The number of nodes in network. |
rho |
correlation coefficient between continuous observations and latent factor . |
dep.factor |
multiplicative factor applied to.
|
dep.range |
a vector specifying lower bound and upper bound for |
an undirected and binary igraph
object G
having both Y and U as nodal attributes.
|
one-dimensional continuous observations. |
|
one-dimensional continuous latent variable dependent on |
1 2 3 4 5 | library(netdep)
library(MASS)
library(mvrtn)
library(igraph)
G = latent.netdep(n.node = 100, rho = 0.5, dep.factor = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.