Hi, I'm new to R language. There is a problem I couldn't understand.
Hope you can answer my question. when i type >for (i in 1:10){ + print(sample(9,4,replace=T)) +} and it shows ten of four numbers and how do I do to calculate the frequencies in each list? I know there is a hint; list10<-vector(mode="list",length=4) But I don't know how to use it. How do I name each list? There are my problems. Thanks!! Best Regards, vie _________________________________________________________________ Show them the way! Add maps and directions to your party invites. [[alternative HTML version deleted]] ______________________________________________ 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.