Description Usage Arguments Value Examples
This function generates random observations from a DAG graph
1 | rmvDAG_obs(n, amat, Sig = NULL)
|
n |
The sample size |
amat |
The adjacency matrix of a DAG |
Sig |
The error variance of each node |
Gaussian data with the given sample size
1 2 | amat=matrix(c(0,1,0,0),2,2)
rmvDAG_obs(50,amat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.