search for: rgly

Displaying 2 results from an estimated 2 matches for "rgly".

Did you mean: rely
2010 Jul 23
2
, Updating Table
Hi everyone, Is there any command for updating table withing a loop?  For instance, at i, I have a table as ZZ = table(data.raw[1:ind[i]]) where "ind" = c(10, 20, 30, ...).  Then , ZZ will be as follow "A" "B" "C"  3    10   2 At (i + 1), ZZ = table(data.raw[(ind[i]+1):ind[i+1]]) "A" "B" "D"  4    7    8 Is there any
2010 Jul 26
1
After writing data in MMF using SEXP structure, can i reference in R?
...et="x-unknown"; Format="flowed" On Fri, 23 Jul 2010, Marcus Liu wrote: > Hi everyone, > > Is there any command for updating table withing a loop?? "Loops? We don't need no stinking loops!" (From 'The Good, the Bad, and the Rgly') tab <- table(data.raw, findInterval(seq(along=data.raw), ind+1 ) ) tab %*% upper.tri(tab, diag=T) or tab2 <- tapply( factor(data.raw), findInterval(seq(along=data.raw), ind+1 ), table) Reduce( "+", tab2, accum=TRUE ) HTH, Chuck p.s....