| unitCycle<–methods | R Documentation |
`unitCycle<-` and `unitSeason<-` in package pctsMethods for `unitCycle<-` and `unitSeason<-`
in package pcts.
`unitCycle<-` and `unitSeason<-` have methods with identical
signatures:
signature(x = "Cyclic")signature(x = "SimpleCycle")allSeasons for related functions and examples
qrt <- BuiltinCycle(4)
unitSeason(qrt) # "Quarter"
unitCycle(qrt) # "Year"
moreve <- new("SimpleCycle", 2)
unitSeason(moreve) # "Season"
unitCycle(moreve) # "Cycle"
allSeasons(moreve) # c("Season_1", "Season_2")
## change the names
unitCycle(moreve) <- "Day"
unitSeason(moreve) <- "TimeOfDay"
allSeasons(moreve) <- c("Morning", "Evening")
unitSeason(moreve)
unitCycle(moreve)
allSeasons(moreve)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.