View source: R/bimets_ts_functions.R
TSLEAD | R Documentation |
This function leads the input time series by the specified number of time periods.
TSLEAD(x = NULL, L = 1, avoidCompliance = FALSE, verbose = FALSE, ...)
x |
Input time series that must satisfy the compliance control check defined in |
L |
Lead. Must be an integer, positive or negative. |
avoidCompliance |
If |
verbose |
If |
... |
Backward compatibility. |
This function returns a BIMETS time series built by leading the input time series.
TSJOIN
TSEXTEND
TSMERGE
MOVAVG
GETYEARPERIOD
TSLAG
#DEFINE TS
n<-10
ts1<-TSERIES(n:1,START=c(2000,1),FREQ=1)
ts1[5]<-NA
#print TSLEAD
TABIT(ts1,TSLEAD(ts1,5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.