This function converts a BoolModel object into an adjacency matrix.

1 | ```
bm_to_amat(x, directed = T)
``` |

`x` |
S4 BoolModel object. |

`directed` |
logical. Whether to return directed or undirected adjacency matrix. Default to TRUE. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.