quantmod-class: Class "quantmod"

Description Objects from the Class Slots Methods Author(s) Examples

Description

Objects of class quantmod help to manage the process of model building within the quantmod package. Created automatically by a call to specifyModel they carry information to be used by a variety of accessor functions and methods.

Objects from the Class

Objects can be created by calls of the form new("quantmod", ...).

Normally objects are created as a result of a call to specifyModel.

Slots

model.id:

Object of class "character" ~~

model.spec:

Object of class "formula" ~~

model.formula:

Object of class "formula" ~~

model.target:

Object of class "character" ~~

model.inputs:

Object of class "character" ~~

build.inputs:

Object of class "character" ~~

symbols:

Object of class "character" ~~

product:

Object of class "character" ~~

price.levels:

Object of class "zoo" ~~

training.data:

Object of class "Date" ~~

build.date:

Object of class "Date" ~~

fitted.model:

Object of class "ANY" ~~

model.data:

Object of class "zoo" ~~

quantmod.version:

Object of class "numeric" ~~

Methods

No methods defined with class "quantmod" in the signature.

Author(s)

Jeffrey A. Ryan

Examples

1
showClass("quantmod")

Example output

Loading required package: xts
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: TTR
Version 0.4-0 included new data defaults. See ?getSymbols.
Class "quantmod" [package "quantmod"]

Slots:
                                                                          
Name:          model.id       model.spec    model.formula     model.target
Class:        character          formula          formula        character
                                                                          
Name:      model.inputs     build.inputs          symbols          product
Class:        character        character        character        character
                                                                          
Name:      price.levels    training.data       build.date     fitted.model
Class:              ANY              ANY        character              ANY
                                        
Name:        model.data quantmod.version
Class:              ANY          numeric

quantmod documentation built on May 2, 2019, 5:48 p.m.