generate_models | R Documentation |

Models are represented in various forms

```
emat_saturated_model(index)
model_saturated(index, type = "emat", nms = NULL)
model_random_tree(index, prob = 0, type = "emat", nms = NULL)
model_rectangular_grid(dim, type = "emat", nms = NULL)
model_line(index, type = "emat", nms = NULL)
model_star(index, type = "emat", nms = NULL)
model_loop(index, prob = 0, type = "emat", nms = NULL)
model_random(index, prob = 0.1, type = "emat", nms = NULL)
```

`index` |
A vector of integers |

`type` |
Output type. |

`nms` |
Names of variables. |

`prob` |
Probability of any edge being present. |

`dim` |
A vector with dimensions |

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.