search for: vd31nadd

Displaying 1 result from an estimated 1 matches for "vd31nadd".

2010 May 07
3
for loop
...g loop im generating objects of type table. What I would like to do is to put all those objects together in a list (that i called cc).I did this but the result is not what i espect to get: cc=list() d=1 for (i in data) { cc=list(cc,assign(paste("n",d,sep=""),table(i,subsample$vD31NADD))) d=d+1} I know that this won't work properly: cc=list(cc,assign(paste("n",d,sep=""),table(i,subsample$vD31NADD))) but I dont know a way to add to my list the new objects generated at each step of the loop. Thanks for your attention! [[alternative HTML version deleted]]