Hi Penny,
If I understand you correctly, you have a vector, and you want it to
be a column in an Excel file with 8768 rows (one for each entry).
Easy ways to transport data from R to Excel are with the write.csv
function. For example:
write.csv(x = data.frame(myclustfactor = 1:10), file = "yourf
Dear R-user,
I need help on how to transpose this column of clustering vector in R with 8768
entries derived from a PAM clustering output in a vertical view to an excel
file
Clustering vector:
[1] 1 1 2 2 1 2 1 2 1 1 2 2 1 2 2 2 2 1 1 1 1 2 2 1 2 2 1 2 2 2 2 2 2 2 2 1 2
[38] 2 1 1 2 2 2 2
2 matches
Mail list logo