transform_symbols.coded_vec | R Documentation |
Transforms the symbols within an object.
## S3 method for class 'coded_vec'
transform_symbols(x, f, type, ...)
## S3 method for class 'corpus'
transform_symbols(
x,
f,
type,
progress = if (interactive()) "text" else "none",
...
)
transform_symbols(x, f, type, ...)
## S3 method for class 'vec'
transform_symbols(x, f, type, ...)
x |
Object to transform. |
f |
Function to apply to each symbol. |
type |
Character scalar identifying the new symbol type. |
... |
Further arguments to be passed to methods. |
progress |
(Scalar character) Progress bar type, to be passed to
|
The transformed object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.