Find the time of the first dose
sdtm_first_dose.Rd
Find the time of the first dose
Arguments
- x
The EX domain from SDTM or a list with the EX domain in an element named "EX" that contains the EX domain.
- ...
Arguments passed to methods.
- trt_value
A vector of treatments (from the
trt_col
) that could be the first dose for a subject.- trt_col
A vector of column names to search for
trt_value
. Only one of these columns can be inx
, and all others are ignored.- dtc_col
The column to search for the dosing time. Only one of these columns can be in
x
, and all others are ignored.
Value
A data frame with one column for each grouping level as generated by
dplyr::group_by
(the USUBJID column is used as the grouping if no
groups are present) and one additional column named "DTC_first_dose"
containing the date and time of the first dose.
See also
Other Date management and conversion:
dateany_to_date()
,
generate_dtc()
,
is_ISO8601_calendar_datetime()
,
is_ISO8601_calendar_date()
,
is_ISO8601_ordinal_datetime()
,
is_ISO8601_timezone()
,
is_ISO8601_time()
,
is_ISO8601_week_datetime()
,
make_dy()
,
pattern_ISO8601_any_datetime()
,
pattern_ISO8601_any_date()
,
pattern_ISO8601_calendar_datetime()
,
pattern_ISO8601_calendar_date()
,
pattern_ISO8601_calendar_year()
,
pattern_ISO8601_ordinal_datetime()
,
pattern_ISO8601_ordinal_date()
,
pattern_ISO8601_timezone()
,
pattern_ISO8601_time()
,
pattern_ISO8601_week_datetime()
,
pattern_ISO8601_week_date()
,
sdtm_dtc_to_datetime()
,
sdtm_time_actual()