| sdtm_first_dose | R Documentation |
Find the time of the first dose
sdtm_first_dose(x, ...)
## S3 method for class 'list'
sdtm_first_dose(x, ...)
## S3 method for class 'data.frame'
sdtm_first_dose(
x,
trt_value = NULL,
trt_col = c("EXTRT", "TRT"),
dtc_col = c("EXSTDTC", "EXDTC", "STDTC", "DTC"),
...
)
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 |
A vector of column names to search for |
dtc_col |
The column to search for the dosing time. Only one of these
columns can be in |
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.
Other Date management and conversion:
dateany_to_date(),
generate_dtc(),
is_ISO8601_calendar_date(),
is_ISO8601_calendar_datetime(),
is_ISO8601_ordinal_datetime(),
is_ISO8601_time(),
is_ISO8601_timezone(),
is_ISO8601_week_datetime(),
make_dy(),
pattern_ISO8601_any_date(),
pattern_ISO8601_any_datetime(),
pattern_ISO8601_calendar_date(),
pattern_ISO8601_calendar_datetime(),
pattern_ISO8601_calendar_year(),
pattern_ISO8601_ordinal_date(),
pattern_ISO8601_ordinal_datetime(),
pattern_ISO8601_time(),
pattern_ISO8601_timezone(),
pattern_ISO8601_week_date(),
pattern_ISO8601_week_datetime(),
sdtm_dtc_to_datetime(),
sdtm_time_actual()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.