Questions tagged [rxkmeans]
2 questions
0
votes
0 answers
Which columns are used in kmeans algorithm in R, as there are no arguments for designating columns?
Says, a dataframe df_1 has 8 columns, and following code is used.
res = kmeans(df_1, 4, nstart=40)
The K-means clustering result is stored in res.
In most examples, two dimensions (i.e. two columns) are used to demonstrate the clustering.
However,…

Justin
- 327
- 3
- 13
0
votes
1 answer
Azure / R-server - rxKmeans write file with no header
I'm doing a kmeans clustering in Azure / R-server and need to be able to write a file that does not have a header.
So far I've tried:
k1 <- rxKmeans(formula = ~ var1 + var2 + var3, data = df, seed = 10, numClusters = 5
, outFile =…

screechOwl
- 27,310
- 61
- 158
- 267