Get the cycle of a periodic object
modelCycle.RdGet the cycle of a periodic object, a generic function.
Arguments
- object
an object.
- value
-
the new value for the cycle, an object inheriting from
"BasicCycle". - ...
not used.
Details
modelCycle is essentially internal, for programming. The user
level function to get the cycle of an object is pcCycle.
modelCycle returns the Cycle object (in the sense of package
pcts), associated with object. modelCycle is a
generic function which makes it possible to associate a cycle with
objects from a class, without inheriting from the cycle classes.
By definition, NULL represents the model cycle of objects from
classes with no (inherited) method for modelCycle.
The default method of modelCycle returns NULL.
The default method for its replacement version throws error.