search for: puzu

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

Did you mean: duzu
2006 Jan 23
1
will vectorization help in this case?
Hi all, I am doing a array marginalization over one dimension in the following manner: =========================================================== for(l in 1:L) { flst=list(Pzu, Pzi, array(Puzu[,as.character(r[[l,"u"]])], dim=dim(Puzu)[1], dimnames=dimnames(Puzu)[1]), array(Pizi[,as.character(r[[l, "i"]])], dim=dim(Pizi)[1], dimnames=dimnames(Pizi)[1]) ); tempa = 1; for(j in 1:length(flst)) tempa = tempa %X% flst[[j]]; tempPzu = apply(tempa, 1, sum); t...