Forum: homals, anacor, smacof
Posted by: Patrick Mair Content: New versions of homals and anacor are available on CRAN. Vignettes are included. A first smacof beta version for multidimensional scaling (MDS) is available on R-forge. |
Latest Newssmacof 1.2-0Patrick Mair - 2011-05-12 07:04 -
smacof 0.9-0 submitted to CRANPatrick Mair - 2008-05-25 21:29 -
homals, anacor, smacofPatrick Mair - 2008-04-04 21:04 -
PsychoR multiple packagePatrick Mair - 2008-02-02 14:31 -
homals 0.9-3 availablePatrick Mair - 2007-11-04 12:40 -
...
|
RE: Error in array(0, c(nr, nr, nn)) : too many elements specified [ Reply ] By: Jan de Leeuw on 2014-09-07 16:57 | [forum:41423] |
Actually this gives column scores x <- read.table("res.txt") x <- data.matrix(x) r <- rowSums (x) z <- x / ifelse (r == 0, 1, r) s <- crossprod (x, z) fit2 <- anacor(s, scaling = c("centroid","standard")) |
RE: Error in array(0, c(nr, nr, nn)) : too many elements specified [ Reply ] By: Jan de Leeuw on 2014-09-07 16:49 | [forum:41422] |
One easy hack is anacor (crossprod(x), scaling = c("centroid","standard")) |
RE: Error in array(0, c(nr, nr, nn)) : too many elements specified [ Reply ] By: Jan de Leeuw on 2014-09-07 16:38 | [forum:41421] |
anacor tries to make a 1000 by 1000 by 5000 array of doubles to compute row confidence regions. Too big. |
Error in array(0, c(nr, nr, nn)) : too many elements specified [ Reply ] By: PK Liu on 2014-09-06 04:00 | [forum:41420] res.txt (15) downloads |
Attached file is a responses data. I used the following R syntax and encountered error: x = read.table("res.txt") x = data.matrix(x) fit2 <- anacor(x, scaling = c("centroid","standard")) Error in array(0, c(nr, nr, nn)) : too many elements specified How to solve it? Thanks. |