How to impute a value if value has only one occasion in a sequence
Basically, I want to interpolate, using R, when a value is different for only one occasion (in this case a month). Let’s say my data looks like this:
Basically, I want to interpolate, using R, when a value is different for only one occasion (in this case a month). Let’s say my data looks like this: