Lookup a Time Series
This function returns the time range and the frequency of an input time series.
TSLOOK(x=NULL, avoidCompliance=FALSE, ...)
x
: Input time series that must satisfy the compliance control check defined in is.bimets
.avoidCompliance
: If TRUE
, compliance control check of input time series will be skipped. See is.bimets
....
: Backward compatibility.This function returns a list of numeric arrays built with the following elements:
STARTY
will contain the value of the starting year
STARTP
will contain the value of the starting period
ENDY
will contain the value of the ending year
ENDP
will contain the value of the ending period
FREQ
will contain the value of the time series frequency
NOELS
is.bimets
BIMETS indexing
fromBIMETStoXTS
fromBIMETStoTS
GETYEARPERIOD
INTS
TSINFO
#create series ts1<-TSERIES(INTS(1,10),START=c(2000,1),FREQ=12) ts1Look<-TSLOOK(ts1) print(ts1Look$STARTY) #print...2000 print(ts1Look$STARTP) #print...1 print(ts1Look$ENDY) #print...2000 print(ts1Look$ENDP) #print...10 print(ts1Look$FREQ) #print...12