Description Usage Arguments Value Examples
inspect_text
- Inspect a text vector with adjustable string wrapping;
created a pretty printed named list.
1 2 3 4 5 6 7 | 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).
1 2 3 4 5 6 7 8 9 10 11 | ## 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.