Learn R Programming

dhlabR (version 1.0.6)

ngram_conv: 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")

Value

A data frame that contains the converted NGRAM.

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'.