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
--
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.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to