ts_discrete | R Documentation |
Return a discrete representation of y
by binning the observed values and returning the transfer probabilities.
ts_discrete(y, nbins = ceiling(2 * NROW(y)^(1/3)), keepNA = TRUE)
y |
Numeric vector or time series to be discretised. |
nbins |
Number of bins to use for calculating transfer probabilities (default = |
keepNA |
If |
A discretised version of y
Other Time series operations:
ts_center()
,
ts_changeindex()
,
ts_checkfix()
,
ts_detrend()
,
ts_diff()
,
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.