[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

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

2014-07-04 Thread Martin Guetlein
received this e-mail in error please contact the sender. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Martin Guetlein Sent: 4. juli 2014 09:13 To: r-help@r-project.org Subject: [R] sammon fails with duplicates error

[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:

[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

[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 run into