Description Usage Arguments Details Value Note Author(s) See Also
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).
1 | fill.small.missing(serie, max.len = 3 * 30, func = median)
|
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. |
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
.
Returns a ts
object with gaps of NA greater than max.len days (if present).
This function is verbose, some information of its running tasks is presented.
A.M. Sajo-Castelli, Desiree Villalta.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.