Description Usage Arguments Value Examples
Calling the method annotate()
on an object that is either a fulltexttable
or that can be transformed to a fulltexttable
(using the method
fulltexttable()
) will launch a Shiny Widget as a leightweight text
annotation tool. The HTML widget annolite
is the core of the gadget. It
provides the essential functionality for highlighter-and-pencil-style
annotation. Wrapping the annolite HTML wideget in a Shiny Gadget
facilitates the implementation of a pure R workflow for generating and
procesing text annotations.
1 2 3 4 5 6 7 8 9 |
x |
Either a |
annotations |
An optional |
width |
The width of the annolite htmlwidget. |
height |
The height of the annolite htmlwidget. |
buttons |
To define button/color combinations for annotation mode,
supply a named |
file |
If a |
... |
Further arguments passed into call of |
A data.frame
with annotations (class annotationstable
) is
returned invisibly.
1 2 3 4 5 | library(polmineR)
use("polmineR")
P <- partition("GERMAPARLMINI", speaker = "Volker Kauder", date = "2009-11-10")
if (interactive()) Y <- annotate(P)
if (interactive()) Y <- annotate(D, annotations = sample_annotation)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.