migration.indices (version 0.3.0)

check.migration.matrix: Check Migration Matrix

Description

Checks if provided R object looks like a migration matrix.

Usage

check.migration.matrix(m)

Arguments

m

R object to check

Value

(invisibly) TRUE

Details

A migration matrix is a symmetric matrix with the exact same row and column names. The diagonal equals to zero. The upper triangle shows the in- and the lower triangle shows the out-migration.