is.diag: Function to judge the square matrix whether it is diagonal...

View source: R/functions_for_RGWAS.R

is.diagR Documentation

Function to judge the square matrix whether it is diagonal matrix or not

Description

Function to judge the square matrix whether it is diagonal matrix or not

Usage

is.diag(x)

Arguments

x

Square matrix.

Value

If 'x' is diagonal matrix, 'TRUE'. Otherwise the function returns 'FALSE'.


RAINBOWR documentation built on Sept. 12, 2023, 9:08 a.m.