nSeasons | R Documentation |
Get the number of seasons from an object.
nSeasons(object) nSeasons(object, ...) <- value
object |
an object for which the notion of number of seasons makes sense. |
value |
a positive integer number. |
... |
further arguments for methods. |
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.
an integer number
No methods for `nSeasons<-`
are defined in package
lagged. The methods defined for nSeasons
are given below.
signature(object = "slMatrix")
Georgi N. Boshnakov
m <- slMatrix(matrix(1:12, nrow = 4)) m nSeasons(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.