TABIT {bimets} | R Documentation

## Print Time Series Data

### Description

This function prints, in an human-readable format, the content of a list of time series. Time series can be subsetted with the projection argument `TSRANGE`.

### Usage

    TABIT(...,
          TSRANGE=NULL,
          digits=getOption('digits'),
          avoidCompliance=FALSE)

### Arguments

`...` | Input list of time series that must satisfy the compliance control check defined in `is.bimets`.
`TSRANGE` | Optional date range of data presentation. `TSRANGE` must be specified as a numerical array composed by starting year, staring period, ending year and ending period of projection, i.e. `TSRANGE=c(START_YEAR,START_PERIOD,END_YEAR,END_PERIOD)`.
`digits` | Controls the number of digits to print out. Valid values are 1 to 16 with a default of 7.
`avoidCompliance` | If `TRUE`, compliance control check of input time series will be skipped. See `is.bimets`

### Value

This function prints out time series data and returns a `NULL` value.

### See Also

`TSPROJECT`
`MOVAVG`
`TSDELTA`
`TSLAG`
`TSPROJECT`
`TSEXTEND`
`TSLEAD`

### Examples

    #create monthly series
    ts1=TSERIES(INTS(1,15),START=c(2000,1),FREQ=12);
    ts2=TSERIES(INTS(1,15),START=c(2001,1),FREQ=12);
    ts3=TSERIES(rnorm(15),START=c(2002,1),FREQ=12);
    ts4=TSERIES(rep(NA,15),START=c(2001,4),FREQ=12);

    TABIT(ts1,ts2,ts3,ts4);

    # print...
    #
    #      DATE, PER, ts1            , ts2            , ts3            , ts4
    #
    #  Jan 2000, 1  ,  1             ,                ,                ,
    #  Feb 2000, 2  ,  2             ,                ,                ,
    #  Mar 2000, 3  ,  3             ,                ,                ,
    #  ...
    #  Dec 2000, 12 ,  12            ,                ,                ,
    #  Jan 2001, 1  ,  13            ,  1             ,                ,
    #  Feb 2001, 2  ,  14            ,  2             ,                ,
    #  ...
    #  Dec 2001, 12 ,                ,  12            ,                ,  NA
    #  Jan 2002, 1  ,                ,  13            , -1.419782      ,  NA
    #  Feb 2002, 2  ,                ,  14            , -1.070188      ,  NA
    #  Mar 2002, 3  ,                ,  15            ,  0.889571      ,  NA
    #  Apr 2002, 4  ,                ,                ,  0.9583392     ,  NA
    #  ...
    #  Feb 2003, 2  ,                ,                , -0.3444237     ,
    #  Mar 2003, 3  ,                ,                , -0.3073225     ,

    #create quarterly series, set TSRANGE then print with 3 digits

    ts1=TSERIES(INTS(1,15),START=c(2000,1),FREQ=4);
    ts2=TSERIES(INTS(1,15),START=c(2001,1),FREQ=4);
    ts3=TSERIES(rnorm(15),START=c(2002,1),FREQ=4);
    ts4=TSERIES(rep(NA,15),START=c(2001,4),FREQ=4);

    TABIT(ts1,ts2,ts3,ts4,TSRANGE=c(1991,3,2003,2),digits=3);

    #print...
    #
    #      DATE, PER, ts1        , ts2        , ts3        , ts4
    #
    #   2000 Q1, 1  ,  1         ,            ,            ,
    #   2000 Q2, 2  ,  2         ,            ,            ,
    #   2000 Q3, 3  ,  3         ,            ,            ,
    #   2000 Q4, 4  ,  4         ,            ,            ,
    #   2001 Q1, 1  ,  5         ,  1         ,            ,
    #   2001 Q2, 2  ,  6         ,  2         ,            ,
    #   2001 Q3, 3  ,  7         ,  3         ,            ,
    #   2001 Q4, 4  ,  8         ,  4         ,            ,  NA
    #   2002 Q1, 1  ,  9         ,  5         ,  0.729     ,  NA
    #   2002 Q2, 2  ,  10        ,  6         ,  0.923     ,  NA
    #   2002 Q3, 3  ,  11        ,  7         , -0.81      ,  NA
    #   2002 Q4, 4  ,  12        ,  8         , -0.0748    ,  NA
    #   2003 Q1, 1  ,  13        ,  9         ,  0.248     ,  NA
    #   2003 Q2, 2  ,  14        ,  10        , -0.347     ,  NA

    #create daily series and set TSRANGE

    ts1=TSERIES(INTS(1,25),START=c(2000,1),FREQ=366);
    ts2=TSERIES(INTS(1,25),START=c(2000,10),FREQ=366);
    ts3=TSERIES(rnorm(25),START=c(2000,20),FREQ=366);
    ts4=TSERIES(rep(NA,25),START=c(2000,30),FREQ=366);

    TABIT(ts1,ts2,ts3,ts4,TSRANGE=c(2000,5,2000,35));

    #...print data

[Package bimets version 1.4.0 Index]