[R] How to keep two Vectors to be
yyjia at pmail.ntu.edu.sg
Fri Feb 14 09:20:03 CET 2003
I am beginner of R. I want to ask for help from you.
I have two "data.frame" type object : s40 and s100. s40 and s100 have same structure: they are actually two dimention array like :
Now s40 and s100 have almost same value in V1, but they lack some value in V1 from each other. What I want to do is to expand them to be same long by inserting those lacking values into V1 of s40 and s50 and the responed value in V2 is 0 or mean of V2.
Is there any easy way to set this problem down? Any help will be appreciated very much!
More information about the R-help