Check and/or Fix a vector
ts_checkfix(
y,
checkNumericVector = TRUE,
checkWholeNumbers = FALSE,
checkTimeVector = FALSE,
checkPow2 = FALSE,
checkScale = FALSE,
checkSummationOrder = FALSE,
checkNonStationarity = FALSE,
checkNonHomogeneity = FALSE,
fixNumericVector = FALSE,
fixWholeNumbers = FALSE,
fixTimeVector = FALSE,
fixPow2 = FALSE,
fixNA = TRUE,
fixScale = FALSE,
fixSummationOrder = FALSE,
fixNonStationarity = FALSE,
fixNonHomogeneity = FALSE
)
A time series object or numeric vector
is 1D numeric vector?
contains only wholenumbers?
has time vector?
length is power of 2?
checkScale
checkSummationOrder
checkNonStationarity
checkNonHomogeneity
return a 1D numeric vector (WARNING: Data frames and Matrices with NCOL > 1 wil be converted to long form)
fixWholeNumber
fixTimeVector
foxPow2
fixNA
fixScale
fixSummationOrder
fixNonStationarity
fixNonHomogeneity
A 'check' report and/or a 'fixed' vector y.
Other Time series operations:
ts_center()
,
ts_changeindex()
,
ts_detrend()
,
ts_diff()
,
ts_discrete()
,
ts_duration()
,
ts_embed()
,
ts_integrate()
,
ts_levels()
,
ts_peaks()
,
ts_permtest_block()
,
ts_permtest_transmat()
,
ts_rasterize()
,
ts_sd()
,
ts_slice()
,
ts_slopes()
,
ts_standardise()
,
ts_sumorder()
,
ts_symbolic()
,
ts_trimfill()
,
ts_windower()