check.validity.NNP: Whether a Given Matrix is Concurrence Matrix or Not

View source: R/ibd.R

check.validity.NNPR Documentation

Whether a Given Matrix is Concurrence Matrix or Not

Description

Checks whether a v by v matrix is concurrence matrix or not. Mainly it checks whether the sum of off-diagonal elements of the matrix is (k-1) times the diagonal element for each row of the given matrix. Applicable for proper binary incomplete block design only. If the condition is satisfied, it returns a value of 1 else it returns 0.

Usage

check.validity.NNP(NNP,k)

Arguments

NNP

a v by v matrix

k

block size

Value

A value of 1 for valid concurrence matrix or 0 for non valid matrix.

Author(s)

Baidya Nath Mandal <mandal.stat@gmail.com>


ibd documentation built on May 29, 2024, 12:11 p.m.

Related to check.validity.NNP in ibd...