ngram | R Documentation |
Function to get and convert NGRAM
ngram(
word = "havet",
corpus = "bok",
language = NULL,
smooth = 1,
years = c(1810, 2013),
mode = "relative"
)
word |
The word to get NGRAM for. Default is "havet". |
corpus |
The corpus to use. Options are 'avis' and 'bok'. Default is "bok". |
language |
The language to use. Default is NULL. |
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'. |
A data frame that contains the NGRAM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.