Spline interpolation

Hi All,

I am interporlating some missing values for a specific variable in R and when i do that, the interpolated variable is no longer part of my data set, i.e, i get only that interpolated variable.

So, how can i ensure that the interpolated variable becomes part of my dataset? Any sample code??

What have you tried so far? If you wrote code, but find it unsatisfactory, then please share that code so that it can be discussed.

Please provide a self-contained REPRoducible EXample (reprex)? A reprex makes it much easier for others to understand your issue and figure out how to help.

If you've never heard of a reprex before, you might want to start by reading this FAQ:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.