Description Usage Arguments Examples
Highlight tokens in fulltexttable
1 2 | ## S4 method for signature 'fulltexttable'
highlight(.Object, ...)
|
.Object |
A |
... |
See examples. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
library(polmineR)
library(fulltext)
use("polmineR")
kau <- corpus("GERMAPARLMINI") %>%
subset(speaker == "Volker Kauder") %>%
subset(date == "2009-11-10")
f <- as.fulltexttable(kau, headline = "Volker Kauder (CDU)", display = "block")
f <- highlight(f, yellow = "Opposition")
fulltext(f, box = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.