On 4 Aug 2003 at 10:10, Uwe Ligges wrote: > George, Charles R wrote: > > <snip> > replace(originalMat, indexMat[,1], indexMat[,2])
Shouldnt that be originalmat <- replace(originalMat, indexMat[,1], indexMat[,2]) ? Kjetil Halvorsen > > Uwe Ligges > > > > the output would look like this: > > > > Final matrix > > 5 5 7 3 > > 2 5 3 3 > > 7 5 5 3 > > 9 3 2 7 > > > > At the moment it takes a while to process. Does anyone have any suggestions? > > > > reagrds > > > > Robert > > > > > > ********************************DISCLAIMER******************...{{dropped}} > > > > ______________________________________________ > > [EMAIL PROTECTED] mailing list > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help