make_id | R Documentation |
Make IDs with fixed length and a prefix (e.g., S001, S002, ..., S100).
make_id(n = 100, prefix = "S", digits = 0, suffix = "")
n |
the number of IDs to generate (or a vector of numbers) |
prefix |
the prefix to the number (default "S") |
digits |
the number of digits to use for the numeric part. Only used if this is larger than the largest number of digits in n. |
suffix |
the suffix to the number (default "") |
a vector of IDs
make_id(20, "SUBJECT_")
make_id(10:30, digits = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.