Displaying 1 result from an estimated 1 matches for "mysamplelist".
2009 Aug 05
3
hi, i have a problem in R
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