powered by
Create object short
short(file, id, name_to_find, common_cols = c(), extra = NA, is_post = T)
A character scalar. Path to the excel table.
A column name of the subject id in the dataset, without quotes.
A character scalar. For search prefixes or postfixes.
A character vector. A column names in the dataset, which common for all events.
A character scalar. For additional information.
A logical scalar, default is TRUE. True is postfix, otherwise, prefix.
The object short.
# NOT RUN { obj_short <- short("preg.xlsx", id,"res", c("site", "sex")) obj_short <- short("labs.xlsx", id,"name_labs", c("site"), "human_name") # }
Run the code above in your browser using DataLab