create_n_mers_tibble: Create the n-mers from one or more character strings

View source: R/create_n_mers_tibble.R

create_n_mers_tibbleR Documentation

Create the n-mers from one or more character strings

Description

Create the n-mers from one or more character strings

Usage

create_n_mers_tibble(strings, n)

Arguments

strings

a character vector with one or more elements

n

the length of the n-mers

Value

a tibble with two columns: * string the string, as a factor * n_mers the n-mers per each string

See Also

use create_n_mers to create the n-mers for one string (as a character vector)

Examples

create_n_mers_tibble(strings = c("AB", "CDE"), n = 2)

richelbilderbeek/bbbq documentation built on July 27, 2023, 2:15 a.m.