The nedaps function creates a copy of the Nedap dataset and adjusts the visit times
to align with the current date while maintaining the original time patterns.
Usage
nedaps()
Arguments
Value
A data.table with updated visit times, shifted to the current date
Details
The function performs the following operations:
Creates a copy of the Nedap dataset from the mintyr package
Calculates the number of days between the last recorded visit and the previous day
Shifts all visit times forward by the calculated number of days
Preserves the original time patterns of the visits