View source: R/create_n_mers_tibble.R
create_n_mers_tibble | R Documentation |
Create the n-mers from one or more character strings
create_n_mers_tibble(strings, n)
strings |
a character vector with one or more elements |
n |
the length of the n-mers |
a tibble with two columns:
* string
the string, as a factor
* n_mers
the n-mers per each string
use create_n_mers to create the n-mers for one string (as a character vector)
create_n_mers_tibble(strings = c("AB", "CDE"), n = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.