Get the number of seasons from an object
nSeasons.Rd
Get the number of seasons from an object.
Arguments
- object
an object for which the notion of number of seasons makes sense.
- value
a positive integer number.
- ...
further arguments for methods.
Details
These are generic functions.
Methods for nSeasons
are straightforward when the property
makes sense for objects from a class. In contrast, methods for the
replacement version, `nSeasons<-`
, should be defined carefully
and may not even be feasible.