check.validity.NNP {ibd} | R 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>
[Package ibd version 1.6 Index]