Function to get and convert NGRAM
ngram(
word = "havet",
corpus = "bok",
language = NULL,
smooth = 1,
years = c(1810, 2013),
mode = "relative"
)A data frame that contains the NGRAM.
The word to get NGRAM for. Default is "havet".
The corpus to use. Options are 'avis' and 'bok'. Default is "bok".
The language to use. Default is NULL.
Smoothing factor. Default is 1.
A vector that contains the start and end years. Default is c(1810,2013).
The mode to use. Default is 'relative'.