mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2025-01-18 03:16:34 +01:00
new function replace_char added 2022-03-02 10:05:22
This commit is contained in:
parent
15824fa01c
commit
3425590553
@ -1,6 +1,6 @@
|
||||
Package: daDoctoR
|
||||
Title: Functions For Health Research
|
||||
Version: 0.21.17
|
||||
Version: 0.22.1
|
||||
Year: 2021
|
||||
Author: Andreas Gammelgaard Damsbo <agdamsbo@pm.me>
|
||||
Maintainer: Andreas Gammelgaard Damsbo <agdamsbo@pm.me>
|
||||
|
@ -34,6 +34,7 @@ export(rep_lm)
|
||||
export(rep_olr)
|
||||
export(rep_olr_sngl)
|
||||
export(rep_reg_cie)
|
||||
export(replace_char)
|
||||
export(strobe_diff_bygroup)
|
||||
export(strobe_diff_byvar)
|
||||
export(strobe_diff_twodim)
|
||||
|
@ -16,6 +16,7 @@
|
||||
age_calc<-function (dob, enddate = Sys.Date(), units = "years", precise = TRUE)
|
||||
## Build upon the work of Jason P. Becker, as part of the eeptools
|
||||
{
|
||||
|
||||
if (!inherits(dob, "Date") | !inherits(enddate, "Date")) {
|
||||
stop("Both dob and enddate must be Date class objects")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user