powered by
Create object short
short( file, id, name_to_find, common_cols = NULL, extra = NULL, is_post = T, is_add_cols = F )
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.
A logical scalar, default is FALSE. If necessary add columns.
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