Skip to content
Prev 76880 / 398502 Next

array indices in synced vectors

On Thu, 8 Sep 2005, Erich Neuwirth wrote:
b[cbind(xxx,yyy)]
More generally there is mapply(), but the matrix subscript solution is 
better in this example
[1] 1 2 1 2 1 4 3 4 3 4

 	-thomas