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

2012-01-18 Thread rl.leonardo
Hi Martin, Certainly there are some problems with the ken.sto function In addition there are some considerations that you have to take into account before using this code. For instance, it projects the data onto a principal component space prior sampling. In this case you have to a PCA is

[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