Displaying 1 result from an estimated 1 matches for "etm5".
Did you mean:
etm
2007 Aug 15
0
mda and kmeans
...start) are calculated.
The problem arises in the function sample() in starter() which sample
randomly the data set.
For example, I could obtain duplicated row such as followed:
Debug: start <- xx[sample(1:nrow(xx), size = nc), ]
debug: TT <- kmeans(xx, start)
Browse[1]> start
etm5 etm6 elevation slope SI NDVI EVI
28 0.7746975 0.4611835 -0.5566161 1.646738 4.5260250 1.519095 0.2501180
28.1 0.7746975 0.4611835 -0.5566161 1.646738 4.5260250 1.519095 0.2501180
30.1 0.4137596 0.2615745 -0.5367707 1.889310 -0.2040883 0.824643 -0.1526292
In sample...