ts_symbolic | R Documentation |
Return a discrete representation of y
by transforming it into an unordered categorical variable which indicates whether a value went up, down, or remained the same relative to the previous value.
ts_symbolic(y, keepNA = TRUE, usePlateaus = FALSE, doPlot = FALSE)
y |
Numeric vector or matrix to be discretised. Will return attributes with labels for each column in the matrix. |
keepNA |
If |
usePlateaus |
Give consecutive |
doPlot |
Create a plot of the symbolized series. (default = |
A symbolic version of y
Other Time series operations:
ts_center()
,
ts_changeindex()
,
ts_checkfix()
,
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_trimfill()
,
ts_windower()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.