Description Usage Arguments Details Value Note Examples
View source: R/indices_and_positions.R
Computes total number of n-grams 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 n-grams is limited by their length and the distance between elements of the n-gram.
An integer
rperesenting the total number of n-grams.
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.