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 this problem as well:
http://r.789695.n4.nabble.com/help-kennard-stone-algorithm-in-soil-spec-packages-does-not-work-for-my-dataset-td3031344.html
The package maintainers email (Thomas Terhoeven-Urselmans) is apparently
outdated, I already tried to send him an email.
Any help would be very much appreciated,
Best regards,
Martin
--
Dipl-Inf. Martin Gütlein
Phone:
+49 (0)761 203 8442 (office)
+49 (0)177 623 9499 (mobile)
Email:
[email protected]
--
Dipl-Inf. Martin Gütlein
Phone:
+49 (0)761 203 8442 (office)
+49 (0)177 623 9499 (mobile)
Email:
[email protected]
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.