[R] Package rrcov, functions PcaCov, PcaHubert, PcaGrid

Mark Difford mark_difford at yahoo.co.uk
Wed Jul 13 15:04:51 CEST 2011

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?


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


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

Regards, Mark.

Mark Difford (Ph.D.)
Research Associate
Botany Department
Nelson Mandela Metropolitan University
Port Elizabeth, South Africa
View this message in context: http://r.789695.n4.nabble.com/Package-rrcov-functions-PcaCov-PcaHubert-PcaGrid-tp3664644p3664961.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list