Try this:
# supplied data
library(zoo) # need the 'na.locf' function
x <- structure(list(ScanDate = structure(c(16433, 16440, 16447, 16454,
16461, 16468, 16475, 16482,
16489, 16496, 16503, 16510, 16517,
Hi,
I have an input data
> dput (input)
structure(list(ScanDate = structure(c(16433, 16440, 16447, 16454,
16461, 16468, 16475, 16482, 16489, 16496, 16503, 16510, 16517,
16524, 16531, 16538, 16545, 16552, 16559, 16566, 16573, 16580,
16587, 16594, 16601, 16608, 16615, 16622), class = "Date"),
2 matches
Mail list logo