"ts", typically the result of
ts.## S3 method for class 'ts':
diff(x, lag = 1, differences = 1, \dots)## S3 method for class 'ts':
na.omit(object, \dots)
"ts" containing the values to be
differenced.na.omit method, a time series without missing values.
The class of object will be preserved.na.omit method omits initial and final segments with
missing values in one or more of the series. diff;
na.omit, na.fail,
na.contiguous.