Description Usage Arguments Value Author(s) Examples
Converts dates in a Biograph object to dates in another format. The function converts an entire Biograph object. It calls the function date_convert, which converts a vector of dates.
1 | date_b(Bdata,selectday,format.out,covs)
|
Bdata |
Biograph object |
selectday |
If input date is in Century Month Code (year and month), the argument selectday gives the day of the month. Default value is one, the transition occurs on the 1st of the month. The argument may be omitted. |
format.out |
Format of output date |
covs |
Vector of covariates that are dates (that need to be converted too). The dates should be in the same format as the other dates. |
|
Biograph object with dates in new format (format.out) |
Frans Willekens
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.