Jmat {HadamardR} | R Documentation |
Jmat peforms the generation of unit matrix.
Jmat(n)
n |
integer |
An J matrix is a square matrix where all the entries are one.
square matrix of order n
Jmat(4)
# [,1] [,2] [,3] [,4]
#[1,] 1 1 1 1
#[2,] 1 1 1 1
#[3,] 1 1 1 1
#[4,] 1 1 1 1