# mcfaddenR2

From ghypernet v1.0.0
by Giona Casiraghi

##### Computes Mc Fadden pseudo R-squared.

Pass either the models or the model parameters as arguments

##### Usage

```
mcfaddenR2(
adj = NULL,
xi = NULL,
omega0 = NULL,
omega1 = NULL,
directed,
selfloops,
mod0 = NULL,
mod1 = NULL,
nparam
)
```

##### Arguments

- adj
optinal adjacency matrix

- xi
optional xi matrix

- omega0
optional propensity matrix of null model

- omega1
optional propensity matrix of alternative model

- directed
boolean, is the model directed?

- selfloops
boolean, are there selfloops?

- mod0
nrm null model

- mod1
nrm alternative model

- nparam
integer, number of parameters

##### Value

Mc Fadden pseudo R-squared.

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

### Community examples

Looks like there are no examples yet.