sm_kwic: Keywords in Context

Description Usage Arguments Value

View source: R/text.R

Description

Keywords in Context

Usage

1
sm_kwic(term, text, n = Inf, ignore_case = TRUE, width = 20L)

Arguments

term

search term as a string

text

vector of text to search

n

number of results to return; default is Inf

ignore_case

should search ignore case? default is TRUE

width

how many characters to show as context

Value

a character vector of the search results


statsmaths/smodels documentation built on Jan. 9, 2021, 1:07 p.m.