s2c | R Documentation |
This is a simple utility function to convert a single string such
as "BigBang"
into a vector of chars such as
c("B", "i", "g", "B", "a", "n", "g")
.
s2c(string)
string |
a string of chars |
a vector of chars. If supplied argument is not a single string, a warning is issued and NA returned.
J.R. Lobry
citation("seqinr")
c2s
stopifnot(all(s2c("BigBang") == c("B", "i", "g", "B", "a", "n", "g")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.