cmc_as_Date: Converts a vector of dates in Century Month Code (CMC) to...

Description Usage Arguments Value Author(s) Examples

Description

Converts vector of dates in Century Month Code (CMC) to object of class 'Date'.

Usage

1
cmc_as_Date (x,selectday,format.out)

Arguments

x

Date in Century Month Code

selectday

If input date is in Century Month Code (year and month), selectday gives the day of the month. Default value is one, the transition occurs on the 1st of the month.

format.out

Format of output dates

Value

Dates (object of class 'Date'): days since 1-1-1970 and printed as date in Gregorian calendar, e.g. "1946-03-01"

Author(s)

Frans Willekens

Examples

1
2
3
	# CMC 555, which is March 1,1946 or 1946.167
	cmc_as_Date (x=555,selectday=1)
  


Search within the Biograph package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.