lz_id | R Documentation |
Include or exclude leading zeros in MRNs.
MRNs have 0-8 leading zeros and 1-8 positive integers.
lz_id(x, lz)
x |
A vector. |
lz |
Logical: TRUE includes, and FALSE excludes, leading zeros. |
A character vector.
x <- c("1", "000000002")
zhaoy::lz_id(x = x, lz = TRUE)
zhaoy::lz_id(x = x, lz = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.