Re: [R] sammon fails with duplicates error, but no duplicates there (MASS package)

2014-07-04 Thread Martin Guetlein
ns > T +45 9730 5135 > M +45 2547 6050 > fr...@vestas.com > http://www.vestas.com > > Company reg. name: Vestas Wind Systems A/S > This e-mail is subject to our e-mail disclaimer statement. > Please refer to www.vestas.com/legal/notice > If you have received this e-mail in e

[R] sammon fails with duplicates error, but no duplicates there (MASS package)

2014-07-04 Thread Martin Guetlein
Hi all, the sammon mapping fails with message "initial configuration has duplicates". But there are no duplicates in my data (see example below). Apparently, the problem is that row 9 and 10 have an equal distance to all other rows (but they are not equal, see last two columns). Any help to get s

[R] cluster algorithm with fixed cluster size

2012-06-06 Thread Martin Guetlein
Hi all, Does anyone know a cluster algorithm in R that allows to set the cluster size (not the number of clusters) to a fixed value? With best regards, Martin -- Dipl-Inf. Martin Gütlein Phone: +49 (0)761 203 7633 (office) +49 (0)177 623 9499 (mobile) Email: guetl...@informatik.uni-freiburg.

[R] how to create stratified (cross-validation) partitions according to numerical features

2012-01-13 Thread Martin Guetlein
Hi all, I want to fragment a dataset into k-cross-validation partitions (folds). The content of the folds should be stratified, but not according to a single (categorical) feature, but according to a range of features (numeric, if possible numeric and categorical). Does anybody know a way to do th

[R] problems with method ken.sto in package soil.spec: subscript out of bounds

2012-01-12 Thread Martin Guetlein
Hi All, I would like to use Kennard-Stone algorithm for splitting a dataset. > mydata <- read.csv(url("http://www.ats.ucla.edu/stat/r/dae/binary.csv ")) > library("soil.spec") > ken.sto(mydata,per.n=0.3) Error in ken.sto(mydata, per.n = 0.3) : subscript out of bounds I found that other people ru