igraph_add_kwic: Add KWIC lineview to igraph object.

Description Usage Arguments Examples

View source: R/igraph.R

Description

Add KWIC lineview to igraph object.

Usage

1
2
igraph_add_kwic(graph, subcorpus, left = 5L, right = 5L, verbose = TRUE,
  progress = TRUE)

Arguments

graph

An igraph object.

subcorpus

A partition.

left

Left context.

right

Right context.

verbose

Logical.

progress

Logical.

Examples

1
2
3
4
5
6
am2008 <- partition(
  "GERMAPARL",
  speaker = "Angela Merkel", year = 2008, interjection = FALSE,
  p_attribute = "word"
)
G <- igraph_add_kwic(merkel2008, subcorpus = am2008)

PolMine/polmineR.graph documentation built on April 27, 2020, 3:24 a.m.