vice.migration.migration_matrix.size

Type : int [positive definite]

The number of rows and columns of this matrix. This is also the number of zones in the multizone model.

Example Code

>>> import vice
>>> example = vice.migration.migration_matrix(3)
>>> example.size
        3