Skip to contents

Get the adjacency matrix associated with a model specification.

Usage

mp_adjacency(spec, include_inout = FALSE)

Arguments

spec

A model specification object (for example, created using mp_tmb_model_spec()).

include_inout

(logical) include nodes defined by mp_per_capita_inflow and mp_per_capita_outflow?

Value

An adjacency matrix.