Century {unstruwwel}R Documentation

Set a Century and Get its Time Interval

Description

Set a Century and Get its Time Interval

Set a Century and Get its Time Interval

Details

An Object of R6Class with methods to set common time periods and specifications for centuries.

Super class

unstruwwel::Periods -> Century

Methods

Public methods

Inherited methods

Method 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.

Usage
Century$new(value)
Arguments
value

A numerical scalar.

Returns

Object of R6Class with methods to set common time periods and specifications for centuries.


Method clone()

The objects of this class are cloneable with this method.

Usage
Century$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

if (interactive()) {
x <- Century$new(15)
x$take(2, type = "third")
}


[Package unstruwwel version 0.2.0 Index]