Description Usage Arguments Details Value Examples
Extracts vector of ngrams present in sequence(s).
1  seq2ngrams(seq, n, u, d = 0, pos = FALSE)

seq 
a vector or matrix describing sequence(s). 
n 

u 

d 

pos 

A format of d
vector is discussed in Details of
count_ngrams
.
A character
matrix of ngrams, where every row corresponds to a
different sequence.
1 2 3 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.