Learn R Programming

fpc (version 2.2-3)

tdecomp: Root of singularity-corrected eigenvalue decomposition

Description

Computes transposed eigenvectors of matrix m times diagonal of square root of eigenvalues so that eigenvalues smaller than 1e-6 are set to 1e-6.

Usage

tdecomp(m)

Arguments

m

a symmetric matrix of minimum format 2*2.

Value

a matrix.

Details

Thought for use in discrcoord only.

Examples

Run this code
# NOT RUN {
x <- rnorm(10)
y <- rnorm(10)
z <- cov(cbind(x,y))
round(tdecomp(z),digits=2)
# }

Run the code above in your browser using DataLab