cleanNames | R Documentation |
Often the names, particularly within soma_adat
objects,
are messy due to varying inputs, this function attempts to remedy this by
removing the following:
trailing/leading/internal whitespace
non-alphanumeric strings (except underscores)
duplicated internal dots (..
), (...
), etc.
SomaScan normalization scale factor format
cleanNames(x)
x |
Character. String to clean up. |
A cleaned up character string.
Stu Field
trimws()
, gsub()
, sub()
cleanNames(" sdkfj...sdlkfj.sdfii4994### ")
cleanNames("Hyb..Scale")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.