powered by
Set a Century and Get its Time Interval
unstruwwel::Periods -> Century
unstruwwel::Periods
Century
Century$new()
Century$clone()
Inherited methods unstruwwel::Periods$set_additions() unstruwwel::Periods$take()
unstruwwel::Periods$set_additions()
unstruwwel::Periods$take()
new()
Helper function to specify the beginning of a century.
Helper function to specify the middle of a century.
Helper function to specify the end of a century.
Create a century.
Century$new(value)
value
A numerical scalar.
Object of R6Class with methods to set common time periods and specifications for centuries.
R6Class
clone()
The objects of this class are cloneable with this method.
Century$clone(deep = FALSE)
deep
Whether to make a deep clone.
An Object of R6Class with methods to set common time periods and specifications for centuries.
if (interactive()) { x <- Century$new(15) x$take(2, type = "third") }
Run the code above in your browser using DataLab