text_window: Utility function that returns the subset of elements in a...

Description Usage Arguments

View source: R/text_window.R

Description

Utility function that returns the subset of elements in a vector between a start and end position

Usage

1
text_window(text, start, end, position, out_of_window = FALSE)

Arguments

text

input vector

start

start position

end

end position

position

vector of word positions around which a window is constructed

out_of_window

if TRUE function returns set of words within and outside of window


till-tietz/rbow documentation built on Oct. 21, 2021, 9:16 p.m.