Displaying 1 result from an estimated 1 matches for "tp3424298p3424298".
2011 Apr 03
0
Avoiding loops in creating a coinvestment matrix
...(i.invests==T)
which.j=which(j.invests==T)
i.invests.with.j=which.i[which.i%in%which.j]
coinvestments[i.is,j.is]=sum(inv.mat[i.is,i.invests.with.j])
}
}
)
Thanks much,
Daniel
--
View this message in context: http://r.789695.n4.nabble.com/Avoiding-loops-in-creating-a-coinvestment-matrix-tp3424298p3424298.html
Sent from the R help mailing list archive at Nabble.com.