Skip to content

Commit

Permalink
Update: vignett feature names
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Laurinec committed Nov 22, 2018
1 parent 533fefe commit f84676f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
^CRAN-RELEASE$
^.*\.Rproj$
^\.Rproj\.user$
^README\.md$
Expand Down
10 changes: 5 additions & 5 deletions vignettes/TSrepr_representations_of_time_series.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f84676f

Please sign in to comment.