highlight_fulltexttable: Highlight tokens in fulltexttable

Description Usage Arguments Examples

Description

Highlight tokens in fulltexttable

Usage

1
2
## S4 method for signature 'fulltexttable'
highlight(.Object, ...)

Arguments

.Object

A fulltexttable object.

...

See examples.

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)

PolMine/fulltext documentation built on Oct. 15, 2020, 8:18 p.m.