Hello R users, 

I am new to R and am having difficulty with the output name of my "for"
loops. 

here is the problem:


for (i in c(1:100))
{
the name of the groups <- which(k1$cluster==i)
}

how can it automatically generate the name for 100 cluster? what should i
put in the bold letter place.

really thank you for helping me

Daniel 

--
View this message in context: 
http://r.789695.n4.nabble.com/automatically-generate-the-output-name-of-my-for-loops-tp3592160p3592160.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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.

Reply via email to