Learn R Programming

fEGarch (version 1.0.1)

spec_methods: Accessors for Classes "base_garch_spec" and "egarch_spec"

Description

Access and change elements in objects of class "egarch_spec". The method names represent the name of the element to access / manipulate.

Usage

# S4 method for base_garch_spec
orders(x)

# S4 method for egarch_type_spec powers(x)

# S4 method for base_garch_spec long_memo(x)

# S4 method for egarch_type_spec modulus(x)

# S4 method for base_garch_spec cond_dist(x)

# S4 method for base_garch_spec orders(x) <- value

# S4 method for egarch_type_spec powers(x) <- value

# S4 method for base_garch_spec long_memo(x) <- value

# S4 method for egarch_type_spec modulus(x) <- value

# S4 method for base_garch_spec cond_dist(x) <- value

Value

These methods either return an object of class "egarch_type_spec"

or "loggarch_type_spec" or the corresponding element of object of such class objects.

Arguments

x

the input object or object to modify.

value

the value to modify the object x with.

Details

These methods are intended to be used for accessing or manipulating individual elements of objects of class "egarch_spec".

Examples

Run this code
test_obj <- egarch_spec()
orders(test_obj)
orders(test_obj) <- c(2, 1)
orders(test_obj)

Run the code above in your browser using DataLab