spec_methods {fEGarch}R Documentation

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 signature 'base_garch_spec'
orders(x)

## S4 method for signature 'egarch_type_spec'
powers(x)

## S4 method for signature 'base_garch_spec'
long_memo(x)

## S4 method for signature 'egarch_type_spec'
modulus(x)

## S4 method for signature 'base_garch_spec'
cond_dist(x)

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

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

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

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

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

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".

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.

Examples

test_obj <- egarch_spec()
orders(test_obj)
orders(test_obj) <- c(2, 1)
orders(test_obj)


[Package fEGarch version 1.0.1 Index]