Pass either the models or the model parameters as arguments

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

Arguments

adj

optimal 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.