periodsInput: TSdata Periods

Description

Apply a method to the input or output data.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
    TobsInput(x)
    ## S3 method for class 'TSdata'
TobsInput(x)
    ## S3 method for class 'TSestModel'
TobsInput(x)

    TobsOutput(x)
    ## S3 method for class 'TSdata'
TobsOutput(x)
    ## S3 method for class 'TSestModel'
TobsOutput(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, TobsInput(x) in theory does Tobs(inputData(x)), which returns the number of observation periods in input data. The actual implementation may not do Tobs(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

1
2
    data("eg1.DSE.data.diff", package="dse")
    TobsOutput(eg1.DSE.data.diff)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.