How to Interpolate Missing Values in R (Including Example ...
https://www.statology.org/r-interpolate-missing-values30.11.2021 · Example: Interpolate Missing Values in R. Suppose we have the following data frame in R that shows the total sales made by a store during 15 consecutive days: #create data frame df <- data. frame (day=1:15, sales=c(3, 6, 8, 10, 14, 17, 20, NA, NA, NA, NA, 35, 39, 44, 49 ...