shortest_unique_prefixes: Return shortest unique prefixes

shortest_unique_prefixesR Documentation

Return shortest unique prefixes

Description

Return shortest unique prefixes

Usage

shortest_unique_prefixes(strings, min_length = 1)

Arguments

strings

A character vector

min_length

Minimum length of prefixes

Value

Character vector with shortest unique prefixes

Examples

strings = c("Abra", "Abracadabra", "Simsalabim")
shortest_unique_prefixes(strings)

uqrmaie1/admixtools documentation built on Nov. 3, 2024, 12:56 a.m.