doc: update dseries slides to reflect changes

time-shift
Houtan Bastani 2014-06-09 09:59:29 +02:00
parent 8b960b873d
commit 59bfd89f09
1 changed files with 2 additions and 2 deletions

View File

@ -467,10 +467,10 @@ would be transformed into
\begin{alltt}
ts(2001Y:2003Y)
\end{alltt}
\myitem Can also use integer indices
\myitem Can also use integer indices (in a roundabout way)
\begin{alltt}
start = find(ts.dates==2001Y);
ts(start:end);
ts(ts.dates(start:end));
\end{alltt}
\myitem NB: Integer indices cannot be used to extract a single observation
because of lag/lead notation (see below)