gmB | R Documentation |
This data set contains a matrix containing information on five binary variables (coded as 0/1) and the corresonding DAG model.
data(gmB)
The format is a list of two components
Int [1:5000, 1:5] 0 1 1 0 0 1 1 0 1 1 ...
Formal class 'graphNEL' [package "graph"] with 6 slots
.. ..@ nodes : chr [1:5] "1" "2" "3" "4" ...
.. ..@ edgeL :List of 5
........
The data was generated using Tetrad in the following way. A random DAG on five nodes was generated; binary variables were assigned to each node; then conditional probability tables corresponding to the structure of the generated DAG were constructed. Finally, 5000 samples were drawn using the conditional probability tables.
data(gmB)
## maybe str(gmB) ; plot(gmB) ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.