Skip to content
Prev 156368 / 398506 Next

inserting values for null

Hi Ramya,

Assuming that the problem is well defined (i.e. the values in col1 of the data.frames are unique and every value in D.F.sub.2[,1] appears also in D.F1[,1]) you can do the following:

ind <- match(D.F.sub.2[,1],D.F1[,1])
D.F1[ind,] <- D.F.sub.2
--- On Thu, 18/9/08, Rajasekaramya <ramya.victory at gmail.com> wrote: