From f84676f930122ccc99e8c2c5a5f991af96494aa8 Mon Sep 17 00:00:00 2001 From: Peter Laurinec Date: Thu, 22 Nov 2018 13:32:37 +0100 Subject: [PATCH] Update: vignett feature names --- .Rbuildignore | 1 + vignettes/TSrepr_representations_of_time_series.Rmd | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index a5c41c2..f125e07 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,4 @@ +^CRAN-RELEASE$ ^.*\.Rproj$ ^\.Rproj\.user$ ^README\.md$ diff --git a/vignettes/TSrepr_representations_of_time_series.Rmd b/vignettes/TSrepr_representations_of_time_series.Rmd index 1117848..3037e1a 100644 --- a/vignettes/TSrepr_representations_of_time_series.Rmd +++ b/vignettes/TSrepr_representations_of_time_series.Rmd @@ -193,11 +193,11 @@ $$\begin{aligned} \mathbf{repr} = \{ & max_1 = \mbox{max. from run lengths of ones}, \\ & sum_1 = \mbox{sum of run lengths of ones}, \\ & max_0 = \mbox{max. from run lengths of zeros}, \\ - & jumps = \mbox{length of RLE encoding} - 1, \\ - & 0_{1.} = \mbox{number of first zeros}, \\ - & 0_{n.} = \mbox{number of last zeros}, \\ - & 1_{1.} = \mbox{number of first ones}, \\ - & 1_{n.} = \mbox{number of last ones}, \} . + & crossings = \mbox{length of RLE encoding} - 1, \\ + & f_{0} = \mbox{number of first zeros}, \\ + & l_{0} = \mbox{number of last zeros}, \\ + & f_{1} = \mbox{number of first ones}, \\ + & l_{1} = \mbox{number of last ones}, \} . \end{aligned}$$ Now, I will use methods implemented in **TSrepr** package to show you how it works. The clipped series is created by function `clipping`, I will only extract the first day from the electricity consumption time series.