periodsInput {dse1} | R Documentation

## TSdata Periods

### Description

Apply a method to the input or output data.

### Usage

        periodsInput(x)
        ## S3 method for class 'TSdata':
        periodsInput(x)
        ## S3 method for class 'TSestModel':
        periodsInput(x)

        periodsOutput(x)
        ## S3 method for class 'TSdata':
        periodsOutput(x)
        ## S3 method for class 'TSestModel':
        periodsOutput(x)

        startInput(x)
        ## S3 method for class 'TSdata':
        startInput(x)
        ## S3 method for class 'TSestModel':
        startInput(x)

        startOutput(x)
        ## S3 method for class 'TSdata':
        startOutput(x)
        ## S3 method for class 'TSestModel':
        startOutput(x)

        endInput(x)
        ## S3 method for class 'TSdata':
        endInput(x)
        ## S3 method for class 'TSestModel':
        endInput(x)

        endOutput(x)
        ## S3 method for class 'TSdata':
        endOutput(x)
        ## S3 method for class 'TSestModel':
        endOutput(x)

        frequencyInput(x)
        ## S3 method for class 'TSdata':
        frequencyInput(x)
        ## S3 method for class 'TSestModel':
        frequencyInput(x)

        frequencyOutput(x)
        ## S3 method for class 'TSdata':
        frequencyOutput(x)
        ## S3 method for class 'TSestModel':
        frequencyOutput(x)

### Arguments

`x` | An object containing TSdata.

### Details

Apply a method to the input or output data so, for example, periodsInput(x) in theory does periods(inputData(x)), which returns the number of periods in input data. The actual implementation may not do periods(inputData(x)). For example, with TSPADIdata inputData(x) requires a database retrieval which may be fairly slow, while the number of periods may be available much more quickly.

### Value

Depends.

### Examples

        if(is.R()) data("eg1.DSE.data.diff", package="dse1")
        periodsOutput(eg1.DSE.data.diff)

[Package Contents]