Rebase a Time Series
This function rebases an input time series to the value of 100 in the year selected by the BASEYEAR
argument. If the input time series frequency is greater than one, the initial reference is set to the average value of the input time series observations that lie in the BASEYEAR
.
INDEXNUM(x=NULL, BASEYEAR=NULL, avoidCompliance=FALSE, ...)
This function returns a BIMETS time series.
#create yearly ts n=20 ts1=TSERIES(1:n,START=c(2000,1),FREQ=1) TABIT(ts1, INDEXNUM(ts1,2005)) #quarterly ts1=TSERIES(1:n,START=c(2000,1),FREQ=4) ts1[5]=NA TABIT(ts1, INDEXNUM(ts1,2000))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.