missing.steps | R Documentation |
Irregularities are found by diff.POSIXt
. A majority vote using which.max
from the package table
determines the most common time step.
Any differing timesteps are interpreted as missing. A vector containing the locations of those missing time steps is returned.
Note that only the location but not how many time steps per gap are missing is returned.
missing.steps(x)
x |
an xts object |
a numerical vector giving the differences of the time steps of the xts object
a numeric vector
Simon Frey
fill.missing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.