powered by
Create object date
date(file, id, get_visit, get_date = dplyr::contains, str_date = "DAT")
A character scalar. Path to the date's parameters in the excel table.
A column name of the subject id in the dataset, without quotes.
A function, which select necessary visit or event e.g. dplyr::start_with, dplyr::contains.
A function, which select dates from necessary visit e.g. dplyr::matches, dplyr::contains, default: dplyr::contains.
A date's pattern in column names, default: "DAT".
The object date.
# NOT RUN { obj_date <- date("dates.xlsx", id, dplyr::contains) obj_date <- date("dates.xlsx", id, dplyr::contains, "uneq") # }
Run the code above in your browser using DataLab