# regularm

From ghypernet v1.0.0
by Giona Casiraghi

##### Fit the gnm model

regularm is wrapper for ghype that allows to specify a gnm regular model. i.e. where all entries of the combinatorial matrix Xi are the same.

##### Usage

`regularm(graph, directed = NULL, selfloops = NULL, ...)`

##### Arguments

- graph
either an adjacency matrix or an igraph graph

- directed
optional boolean, if not specified detected from graph

- selfloops
optional boolean, if not specified detected from graph

- ...
additional parameters passed to the ghype function

##### Value

ghype object

##### Examples

```
# NOT RUN {
data("adj_karate")
regularmodel <- regularm(graph = adj_karate, directed = FALSE, selfloops = FALSE)
# }
```

*Documentation reproduced from package ghypernet, version 1.0.0, License: AGPL-3*

### Community examples

Looks like there are no examples yet.