lsanitize | R Documentation |
Replaces potentially troublesome characters with an underscore
lsanitize(s)
s |
a string to be cleaned |
a cleaned string
This function is a wrapper for the R command gsub("[^[:alnum:]]", "_", s)
,
which replaces all non-alpha-numeric characters with an underscore. See the
Luna lunaR tutorial for a motivating example.
lsanitize( "C3/M1" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.