Package: mondate 1.0

mondate: Keep track of dates in terms of months

Keep track of dates in terms of months. Model dates as at close of business. Perform date arithmetic in units of "months" and "years". Allow "infinite" dates to model "ultimate" time spans.

Authors:Dan Murphy

mondate_1.0.tar.gz
mondate_1.0.zip(r-4.5)mondate_1.0.zip(r-4.4)mondate_1.0.zip(r-4.3)
mondate_1.0.tgz(r-4.4-any)mondate_1.0.tgz(r-4.3-any)
mondate_1.0.tar.gz(r-4.5-noble)mondate_1.0.tar.gz(r-4.4-noble)
mondate_1.0.tgz(r-4.4-emscripten)mondate_1.0.tgz(r-4.3-emscripten)
mondate.pdf |mondate.html
mondate/json (API)
NEWS

# Install 'mondate' in R:
install.packages('mondate', repos = c('https://chiefmurph.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/chiefmurph/mondate/issues

On CRAN:

4.84 score 2 stars 1 packages 91 scripts 2.5k downloads 50 exports 0 dependencies

Last updated 2 years agofrom:67d2d11a5a. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winERROROct 31 2024
R-4.5-linuxERROROct 31 2024
R-4.4-winERROROct 31 2024
R-4.4-macERROROct 31 2024
R-4.3-winERROROct 31 2024
R-4.3-macERROROct 31 2024

Exports:addarrayas.character.mondateas.data.frame.mondateas.Date.mondateas.difftimeas.list.mondateas.mondateas.POSIXct.mondateas.POSIXlt.mondateasofcbindmondatecut.mondatecutmondatedayDaysBetweendiff.mondatedisplayFormatdisplayFormat<-format.mondateget.mondate.displayFormatshead.mondatematrixmean.mondatemondatemondate.mdymondate.ymdmonthMonthsBetweennames<-.mondatepmeanprint.mondatequarterquarters.mondaterbindmondaterep.mondateseq.mondateseqmondateset.mondate.displayFormatsshowsubtracttail.mondatetimeunitstimeunits<-unique.mondatexyearYearQuartersFormatYearsBetweenymd

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Extraction Method for Mondateshead head.mondate tail tail.mondate [,mondate-method [-methods
Add numerics to mondates using day-of-month logicadd
Methods for Function Group Arith on mondate Objects+,mondate,difftime-method +-methods -,mondate,ANY-method -,mondate,Date-method -,mondate,difftime-method -,mondate,missing-method -,mondate,mondate-method --methods Arith,array,mondate-method Arith,mondate,array-method Arith,mondate,mondate-method Arith,mondate,numeric-method Arith,numeric,mondate-method Arith-methods DaysBetween DaysBetween,mondate,mondate-method DaysBetween-methods MonthsBetween MonthsBetween,ANY,ANY-method MonthsBetween,mondate,mondate-method MonthsBetween-methods YearsBetween YearsBetween,ANY,ANY-method YearsBetween,mondate,mondate-method YearsBetween-methods
Array Methodsarray array,mondate-method array-methods
Coerce a mondate to a Data Frameas.data.frame.mondate
Difftime with units Months and Yearsas.difftime
Construct a list from a mondateas.list.mondate
As.Mondate Methodas.mondate
Coersion Methods for Mondatesas.character.mondate as.Date.mondate as.numeric,mondate-method as.POSIXct.mondate as.POSIXlt.mondate
Methods for Combining Mondatesc,mondate-method c-methods cbindmondate rbindmondate rep.mondate
Comparison MethodsCompare,mondate,mondate-method Compare-methods
Convert a mondate Object to a Factorcut cut.mondate
Methods to Generate Date Cutscutmondate cutmondate,Date,ANY-method cutmondate,Date,character-method cutmondate,Date,missing-method cutmondate,mondate,ANY-method cutmondate,POSIXt,ANY-method cutmondate-methods
'diff' for package mondatediff.mondate
Class "difftime"difftime-class
Methods to Access 'displayFormat' PropertydisplayFormat displayFormat,ANY-method displayFormat,mondate-method displayFormat-methods displayFormat<- displayFormat<-,mondate-method displayFormat<--methods
Format a mondateformat.mondate
Class "funcNULL"funcNULL-class
get or set the vector of formats to use when converting character to mondateget.mondate.displayFormats set.mondate.displayFormats
Matrix Methods for Mondate'smatrix matrix,mondate-method matrix-methods
Miscellaneous Methods for mondate'smean.mondate pmean pmean,mondate-method pmean-methods quarters.mondate unique.mondate
Class "mondate"mondate-class
Create an instance of the mondate classmondate mondate,ANY-method mondate,array-method mondate,character-method mondate,Date-method mondate,factor-method mondate,matrix-method mondate,missing-method mondate,mondate-method mondate,numeric-method mondate,POSIXt-method mondate-methods
Assign names to a mondate.names<-.mondate
Methods to Display a Mondateprint.mondate show,mondate-method
Mondate Sequence Generationseq seq.mondate
Methods to Generate Date Sequencesseqmondate seqmondate,ANY,ANY-method seqmondate,ANY,missing-method seqmondate,Date,Date-method seqmondate,Date,missing-method seqmondate,missing,ANY-method seqmondate,missing,Date-method seqmondate,missing,mondate-method seqmondate,missing,POSIXct-method seqmondate,missing,POSIXlt-method seqmondate,mondate,missing-method seqmondate,mondate,mondate-method seqmondate,POSIXct,missing-method seqmondate,POSIXct,POSIXct-method seqmondate,POSIXlt,missing-method seqmondate,POSIXlt,POSIXlt-method seqmondate-methods
Subtract numerics from mondates using day-of-month logicsubtract
Summary MethodsSummary,mondate-method Summary-methods
Methods to Access 'timeunits' Propertytimeunits timeunits,ANY-method timeunits,mondate-method timeunits-methods timeunits<- timeunits<-,mondate-method timeunits<--methods
Useful Methods for Class mondateday day,array-method day,character-method day,Date-method day,mondate-method day,POSIXt-method day-methods mondate.mdy mondate.ymd month month,array-method month,character-method month,Date-method month,mondate-method month,POSIXt-method month-methods quarter quarter,array-method quarter,character-method quarter,Date-method quarter,mondate-method quarter,POSIXt-method quarter-methods year year,array-method year,character-method year,Date-method year,mondate-method year,POSIXt-method year-methods ymd
Formatting Functions for mondate ObjectsYearQuartersFormat