I am getting a novel error message, which I am unable to debug. I have two data sets x, x2:
ID returns.x returns.y
111111118 0.012852 -0.001436
1145JXAP4 0.000000 0.025316
114LYTBB1 -0.090909 0.100000
114R88BT4 0.000000 0.000000
114Y4KDH0 -0.055344 -0.094950
1198CUV40 0.016043 0.005263
and
ID returns
111111118 -0.043392
11D7GQAK9 0.000000
11JS8VT41 -0.036116
11NJGF6V7 0.000000
11NSZA7T1 0.113978
11STQQNH7 0.000000
when giving a merge(x, x2, by = "ID", all = TRUE)
I obtain a message
Error in match.names(clabs, names(xi)) :
names do not match previous names
What's the culprit?