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 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.