Displaying 1 result from an estimated 1 matches for "aaaaany".
Did you mean:
aaaaand
2012 Feb 26
6
loop for a large database
...appears in MyTable.
I've tried a loop with : for (i in 1 : length (myvector)) sum (MyTable== i)
but it crashes my computer.
I've also tried something like
x <- 1 : length (MyVector)
apply (MyTable , 1 , function(x) {sum (MyTable ==x)}
but doesn't work.
Any idea?
Thank you. AAAAAny suggestion is super welcome.
Marianna
--
View this message in context: http://r.789695.n4.nabble.com/loop-for-a-large-database-tp4422052p4422052.html
Sent from the R help mailing list archive at Nabble.com.