Skip to content

Commit

Permalink
pharmaverse#743 updated documentation for min_dates and max_dates to …
Browse files Browse the repository at this point in the history
…clarify that date or date-time object is expected.
  • Loading branch information
VD7666 committed Mar 25, 2022
1 parent ae8e851 commit 701619b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions R/derive_date_vars.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@
#' date is not before the first treatment date. Only dates which are in the
#' range of possible dates of the `dtc` value are considered. The possible dates
#' are defined by the missing parts of the `dtc` date (see example below). This
#' ensures that the non-missing parts of the `dtc` date are not changed. For
#' example
#' ensures that the non-missing parts of the `dtc` date are not changed.
#' A date or date-time object is expected.
#' For example
#'
#' ```
#' impute_dtc(
Expand All @@ -64,7 +65,7 @@
#' A list of dates is expected. It is ensured that the imputed date is not after
#' any of the specified dates, e.g., that the imputed date is not after the data
#' cut off date. Only dates which are in the range of possible dates are
#' considered.
#' considered. A date or date-time object is expected.
#'
#' @param preserve Preserve day if month is missing and day is present
#'
Expand Down

0 comments on commit 701619b

Please sign in to comment.