View source: R/fix-cens-date.r
fix censored dates of the type '20110000' or '20110200' by selecting the midpoint of the censored time interval. If a lower bound is given, the midpoint between this point and the end of the censored interval is chosen.
1 | fix_cens_date(x, sep = NULL, low.bound = NULL, ok.years = NULL)
|
x |
dates |
sep |
seprator in x, if any |
low.bound |
the lower bound |
ok.years |
span of years that are ok, values outside will generate an error |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.