View source: R/anonymize_dates.R
anonymize_dates | R Documentation |
anonymize_dates
sets the date of birth ('dob') to a given reference
point then adjusts the 'exam_time' and 'visit_date' values to preserve the
age at visit.
anonymize_dates( header, anon_dob = as.POSIXct(0, origin = "1970-01-01", tz = "UTC") )
header |
The header list from a volume object. |
anon_dob |
The new date of birth. Must be at or after the UNIX date-time origin of 1970-01-01 UTC (the default value). |
A new header list with the dates adjusted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.