check.migration.matrix: Check Migration Matrix

View source: R/gini.R

check.migration.matrixR Documentation

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

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.

Value

(invisibly) TRUE


migration.indices documentation built on June 13, 2022, 5:08 p.m.