Description Usage Arguments See Also Examples
View source: R/ratid_to_usern.R
Converts a RATSS code/study ID (in the format e.g. "11 0104 01 01 14" or without any spaces "110104010114") to a <family>_<twin_no> format (e.g. "104_1"). For parents, this leads to them having usernames in the format "<family no>_5" or "<family no>_6". Note that this parent coding might not be what you want or what has been used previously.
1 | ratid_to_usern(ratid)
|
ratid |
a string/character vector with a single RATSS code |
1 2 3 4 | x <- "11 0104 01 01 14"
ratid_to_usern(x)
y <- "110104010114"
ratid_to_usern(y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.