SCM

Forum: homals, anacor, smacof

Posted by: Patrick Mair
Date: 2008-04-04 21:04
Summary: homals, anacor, smacof
Project: PsychoR

This project has not yet categorized itself in the Trove Software Map

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 News

smacof 1.2-0

Patrick Mair - 2011-05-12 07:04 -

smacof 0.9-0 submitted to CRAN

Patrick Mair - 2008-05-25 21:29 -

homals, anacor, smacof

Patrick Mair - 2008-04-04 21:04 -

PsychoR multiple package

Patrick Mair - 2008-02-02 14:31 -

homals 0.9-3 available

Patrick Mair - 2007-11-04 12:40 -
...

 

Monitor Forum | Start New Thread Start New Thread
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.

Thanks to:
Vienna University of Economics and Business Powered By FusionForge