Normcol: Normcol Normcol performs the Normalisation of column the...

Description Usage Arguments Details Value Examples

View source: R/Normcol.R

Description

Normcol Normcol performs the Normalisation of column the given matrix.

Usage

1

Arguments

m

Matrix

Details

For the given matrix of the first column of the all the -1 elements converting +1 without alter the property of the matrix.

Value

Normalised matrix

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
PaleyI(8)
#      [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
#[1,]    1    1    1    1    1    1    1    1
#[2,]   -1    1   -1   -1    1   -1    1    1
#[3,]   -1    1    1   -1   -1    1   -1    1
#[4,]   -1    1    1    1   -1   -1    1   -1
#[5,]   -1   -1    1    1    1   -1   -1    1
#[6,]   -1    1   -1    1    1    1   -1   -1
#[7,]   -1   -1    1   -1    1    1    1   -1
#[8,]   -1   -1   -1    1   -1    1    1    1
Normcol(PaleyI(8))
#      [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
#[1,]    1    1    1    1    1    1    1    1
#[2,]    1   -1    1    1   -1    1   -1   -1
#[3,]    1   -1   -1    1    1   -1    1   -1
#[4,]    1   -1   -1   -1    1    1   -1    1
#[5,]    1    1   -1   -1   -1    1    1   -1
#[6,]    1   -1    1   -1   -1   -1    1    1
#[7,]    1    1   -1    1   -1   -1   -1    1
#[8,]    1    1    1   -1    1   -1   -1   -1

HadamardR documentation built on April 14, 2020, 7:01 p.m.