Skip to contents

Class SimpleCycle.

Objects from the Class

Objects can be created by calls of the form new("SimpleCycle", nseasons, seasons, first).

In addition to number of seasons, class "SimpleCycle" holds also seasons' names and the index of the season to be treated as the first in a cycle.

Slots

seasons:

Object of class "character", the names of the seasons.

nseasons:

Object of class "integer", number of seasons.

cycle:

Object of class "character" ~~

season:

Object of class "character" ~~

abbreviated:

Object of class "character" ~~

Extends

Class "BareCycle", directly. Class "BasicCycle", directly.

Methods

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

Author

Georgi N. Boshnakov

See also

pcCycle for creation of cycle objects and extraction of cycle part of time series,

BuiltinCycle-class, SimpleCycle-class,

DayWeekCycle-class, MonthYearCycle-class, OpenCloseCycle-class, QuarterYearCycle-class, PartialCycle-class

BasicCycle-class (virtual, for use in signatures)

Examples

showClass("SimpleCycle")
#> Class "SimpleCycle" [package "pcts"]
#> 
#> Slots:
#>                                                                   
#> Name:        cycle      season     seasons abbreviated    nseasons
#> Class:   character   character   character   character     integer
#> 
#> Extends: 
#> Class "BareCycle", directly
#> Class "BasicCycle", by class "BareCycle", distance 2