fix_cens_date: fix censored dates

Description Usage Arguments

View source: R/fix-cens-date.r

Description

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.

Usage

1
fix_cens_date(x, sep = NULL, low.bound = NULL, ok.years = NULL)

Arguments

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


renlund/dataman documentation built on March 19, 2018, 10:09 a.m.