inspect_text {qdap} | R Documentation |
Inspect Text Vectors
Description
inspect_text
- Inspect a text vector with adjustable string wrapping;
created a pretty printed named list.
Usage
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, ...)
Arguments
text.var |
The text variable or a |
grouping.var |
The grouping variables. Default |
... |
ignored. |
Value
Returns a named list (prints pretty).
Examples
## 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)
[Package qdap version 2.4.6 Index]