Description Usage Arguments Details Value Examples
Normrow Normcol performs the Normalisation of row the given matrix.
1 | Normrow(m)
|
m |
Matrix |
For the given matrix of the first row of the all the -1 elements converting +1 without alter the property of the matrix.
Normalised matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | PaleyII(12)
# [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12]
# [1,] 1 1 1 1 1 1 1 -1 -1 -1 -1 -1
# [2,] 1 1 1 -1 -1 1 -1 1 -1 1 1 -1
# [3,] 1 1 1 1 -1 -1 -1 -1 1 -1 1 1
# [4,] 1 -1 1 1 1 -1 -1 1 -1 1 -1 1
# [5,] 1 -1 -1 1 1 1 -1 1 1 -1 1 -1
# [6,] 1 1 -1 -1 1 1 -1 -1 1 1 -1 1
# [7,] 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
# [8,] -1 1 -1 1 1 -1 -1 -1 -1 1 1 -1
# [9,] -1 -1 1 -1 1 1 -1 -1 -1 -1 1 1
#[10,] -1 1 -1 1 -1 1 -1 1 -1 -1 -1 1
#[11,] -1 1 1 -1 1 -1 -1 1 1 -1 -1 -1
#[12,] -1 -1 1 1 -1 1 -1 -1 1 1 -1 -1
Normrow(PaleyII(12))
# [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12]
# [1,] 1 1 1 1 1 1 1 1 1 1 1 1
# [2,] 1 1 1 -1 -1 1 -1 -1 1 -1 -1 1
# [3,] 1 1 1 1 -1 -1 -1 1 -1 1 -1 -1
# [4,] 1 -1 1 1 1 -1 -1 -1 1 -1 1 -1
# [5,] 1 -1 -1 1 1 1 -1 -1 -1 1 -1 1
# [6,] 1 1 -1 -1 1 1 -1 1 -1 -1 1 -1
# [7,] 1 -1 -1 -1 -1 -1 -1 1 1 1 1 1
# [8,] -1 1 -1 1 1 -1 -1 1 1 -1 -1 1
# [9,] -1 -1 1 -1 1 1 -1 1 1 1 -1 -1
#[10,] -1 1 -1 1 -1 1 -1 -1 1 1 1 -1
#[11,] -1 1 1 -1 1 -1 -1 -1 -1 1 1 1
#[12,] -1 -1 1 1 -1 1 -1 1 -1 -1 1 1
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.