On Jul 13, 2011; 12:03pm Albina wrote:

> Error: diff(sv)<0 ist not all TRUE

> ... . >snip<

> The same error occurs with the other functions. What does this mean and how can I perform the robust

> PCA with these functions by using a quadratic matrix as input?

Albina,

You at least need to feed it something sensible. Look at your matrix:

x<-matrix(0.5,30,30)

x

Try the following:

x <- rmultinom(30, size = 30, prob=rep(c(0.1,0.2,0.8), 30))

PcaCov(x)

Regards, Mark.

Mark Difford (Ph.D.)

Research Associate

Botany Department

Nelson Mandela Metropolitan University

Port Elizabeth, South Africa