inputData {dse}R Documentation

TSdata Series

Description

Extract or set input or output series in a TSdata object.

Usage

    inputData(x, series=seqN(nseriesInput(x)))
    ## Default S3 method:
inputData(x, series=seqN(nseriesInput(x)))
    ## S3 method for class 'TSdata'
inputData(x,  series=seqN(nseriesInput(x)))
    ## S3 method for class 'TSestModel'
inputData(x, series=seqN(nseriesInput(x)))

    outputData(x, series=seqN(nseriesOutput(x)))
    ## Default S3 method:
outputData(x, series=seqN(nseriesOutput(x)))
    ## S3 method for class 'TSdata'
outputData(x,  series=seqN(nseriesOutput(x)))
    ## S3 method for class 'TSestModel'
outputData(x, series=seqN(nseriesOutput(x)))

    inputData(x)  <- value
    outputData(x) <- value

Arguments

x

object of class TSdata.

value

a time series matrix.

series

vector of strings or integers indicating the series to select.

Value

The first usages returns the input or output series. The second usages assigns the input or output series.

See Also

TSdata selectSeries

Examples

data("eg1.DSE.data", package="dse")
outputData(eg1.DSE.data) 

[Package dse version 2020.2-1 Index]