nanoperiod.month,nanoperiod-method | R Documentation |
These functions allow access to the components of a nanoperiod
## S4 method for signature 'nanoperiod' nanoperiod.month(x) ## S4 method for signature 'nanoperiod' nanoperiod.day(x) ## S4 method for signature 'nanoperiod' nanoperiod.nanoduration(x)
x |
A |
nanoperiod.month
and nanoperiod.day
return
an integer64
whereas nanoperiod.nanoduration
returns a nanoduration
Dirk Eddelbuettel
Leonardo Silvestri
nanoduration
p <- as.nanoperiod("2y1m1d/12:00:00") nanoperiod.month(p) nanoperiod.day(p) nanoperiod.nanoduration(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.