[.chars | R Documentation |
chars
ObjectExtract or Replace Parts of a chars
Object
## S3 method for class 'chars'
x[...]
x |
a |
... |
further arguments passed to or from other methods. |
the extracted parts of a chars
object, or a chars
object with
replacements performed.
s <- chars("censor")
s[2:5]
s[2:5] <- "X"
s
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.