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