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:

50 exports 2 stars 1.38 score 0 dependencies 1 dependents 88 scripts 3.0k downloads

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

TargetResultDate
Doc / VignettesOKAug 22 2024
R-4.5-winERRORAug 22 2024
R-4.5-linuxERRORAug 22 2024
R-4.4-winERRORAug 22 2024
R-4.4-macERRORAug 22 2024
R-4.3-winERRORAug 22 2024
R-4.3-macERRORAug 22 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