# Complete daily-frequency time-series

### Description

This routine completes a series of frequency 365.25. Each NA is estimated
using the function `fun`

(median) of the same day of all other years (where available).

### Usage

1 | ```
fill.small.missing(serie, max.len = 3 * 30, func = median)
``` |

### Arguments

`serie` |
A |

`max.len` |
Largest gap (in days) to complete using this method. Defaults to 3 months. |

`func` |
Function to use in order to estimate an NA. Defaults to median. |

### Details

This function completes *small* gaps of NA, it is not intended to
complete long periods of NAs. If required to complete large sets of NAs, see
`complete.series`

.

### Value

Returns a `ts`

object with gaps of NA greater than `max.len` days (if present).

### Note

This function is verbose, some information of its running tasks is presented.

### Author(s)

A.M. Sajo-Castelli, Desiree Villalta.

### See Also

`complete.series`