RemoveSize: Remove Size Variation

Description Usage Arguments Details Value Author(s) Examples

View source: R/RemoveSize.R

Description

Removes first principal component effect in a covariance matrix.

Usage

1
RemoveSize(cov.matrix)

Arguments

cov.matrix

Covariance matrix

Details

Function sets the first eigen value to zero.

Value

Altered covariance matrix with no variation on former first principal component

Author(s)

Diogo Melo, Guilherme Garcia

Examples

1
2
3
4
cov.matrix <- RandomMatrix(10, 1, 1, 10)
no.size.cov.matrix <- RemoveSize(cov.matrix)
eigen(cov.matrix)
eigen(no.size.cov.matrix)

evolqg documentation built on May 30, 2017, 1:52 a.m.

Search within the evolqg package
Search all R packages, documentation and source code