Description Usage Arguments Details Value Note Examples
View source: R/indices_and_positions.R
Computes total number of ngrams that can be extracted from sequences.
1  count_total(seq, n, d)

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

d 

The maximum number of possible ngrams is limited by their length and the distance between elements of the ngram.
An integer
rperesenting the total number of ngrams.
A format of d
vector is discussed in Details of
count_ngrams
. The maximum
1 2 3 4 5 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.