Methods for Time Series Objects
Methods for objects of class
"ts", typically the result of
"diff"(x, lag = 1, differences = 1, ...)"na.omit"(object, ...)
- an object of class
"ts"containing the values to be differenced.
- an integer indicating which lag to use.
- an integer indicating the order of the difference.
- a univariate or multivariate time series.
- further arguments to be passed to or from methods.
na.omit method omits initial and final segments with
missing values in one or more of the series. Internal
missing values will lead to failure.
na.omitmethod, a time series without missing values. The class of
objectwill be preserved.
Looks like there are no examples yet.