is.probability.matrix: Test if a matrix is of probability

View source: R/ToolFunctions.R

is.probability.matrixR Documentation

Test if a matrix is of probability

Description

Test if a matrix is of probability

Usage

is.probability.matrix(x)

Arguments

x

a matrix.

Value

A logical corresponding to whether x is a probability matrix (sum of rows equal to 1).

Author(s)

Ehouarn Le Faou


Ease documentation built on Nov. 10, 2022, 5:54 p.m.