short | R Documentation |
Create object short
short( file, id, name_to_find, common_cols = NULL, extra = NULL, is_post = T, is_add_cols = F )
file |
A character scalar. Path to the excel table. |
id |
A column name of the subject id in the dataset, without quotes. |
name_to_find |
A character scalar. For search prefixes or postfixes. |
common_cols |
A character vector. A column names in the dataset, which common for all events. |
extra |
A character scalar. For additional information. |
is_post |
A logical scalar, default is TRUE. True is postfix, otherwise, prefix. |
is_add_cols |
A logical scalar, default is FALSE. If necessary add columns. |
The object short.
obj_short <- short("preg.xlsx", id, "res", c("site", "sex")) obj_short <- short("labs.xlsx", id, "name_labs", c("site"), "human_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.