ngram_conv: Hidden internal function to convert NGRAM

View source: R/ngram.R

ngram_convR Documentation

Hidden internal function to convert NGRAM

Description

Hidden internal function to convert NGRAM

Usage

ngram_conv(ngrams, smooth = 1, years = c(1810, 2013), mode = "relative")

Arguments

ngrams

The NGRAMs to convert.

smooth

Smoothing factor. Default is 1.

years

A vector that contains the start and end years. Default is c(1810,2013).

mode

The mode to use. Default is 'relative'.

Value

A data frame that contains the converted NGRAM.


dhlabR documentation built on Sept. 11, 2024, 9:12 p.m.