I'm combining two paleoclimatology data sets into one for use in a regression model. Each data set has an integer value for time from 0-802kys.
However, one of the sets skips a year after 600kyrs (1). When I put all data into one frame, the time series with missing times is shorter, falls out of alignment with the other and restarts itself. What I am after is for the incomplete time series to have an NA value so I can omit these rows.
i.e. when v2=601 (see image 1), I want to respective columns to read NA, 601, 3.97
My code for combining is :
df_new <- cbind(Df1$Age,
Df2$Age,
Df1$Benthic,
Df2$Deut)