View source: R/table_recipe_utils.R
subjid_func | R Documentation |
Generate sequence of "subject id"s
subjid_func(n, prefix = "id", suffix = NULL, sep = "-")
n |
numeric(1). number of ids to generate. Values will be padded with leading 0s so all resulting ids have equal width |
prefix |
character(1). Prefix to prepend to the generated numeric ids. Defaults to |
suffix |
character(1). Suffix to append to generated ids. Defautls to |
sep |
character(1). String to use as separator when combining |
sequence from 1 to n
, prepended with prefix
, and appended with suffix
, separated by sep
subjid_func(5)
subjid_func(3, suffix = "x")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.