is.correct.transition.matrix {Ease}R Documentation

Test if a matrix is a correct transition matrix

Description

Test if a matrix is a correct transition matrix

Usage

is.correct.transition.matrix(x, type, name)

Arguments

x

a matrix.

type

type of the matrice (mutation matrix ? recombination matrix ?)

name

the name of the matrix.

Value

A logical corresponding to whether x is a correct transition matrix, i.e. a square matrix with dimensions greater than 0 and whose rows sum to 1.

Author(s)

Ehouarn Le Faou


[Package Ease version 0.1.2 Index]