inspect_text | R Documentation |
inspect_text
- Inspect a text vector with adjustable string wrapping;
created a pretty printed named list.
inspect_text(text.var, grouping.var = NULL, ...)
## Default S3 method:
inspect_text(text.var, grouping.var = NULL, ...)
## S3 method for class 'Corpus'
inspect_text(text.var, ...)
text.var |
The text variable or a |
grouping.var |
The grouping variables. Default |
... |
ignored. |
Returns a named list (prints pretty).
## Not run:
with(raj, inspect_text(dialogue))
with(raj, inspect_text(dialogue, person))
with(raj, inspect_text(dialogue, list(paste("Act", act), person)))
## With a tm Corpus object
library(tm)
data(crude)
inspect_text(crude)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.