Learn R Programming

webmorphR (version 0.1.1)

unique_names: Get unique names

Description

Get unique names

Usage

unique_names(full_names, breaks = "/", remove_ext = TRUE)

Arguments

full_names

a list of full names

breaks

regex for breaking up the names into parts. If "", then each character will be assessed.

remove_ext

whether to remove the extension before comparing

Value

a list or vector of names with the common beginnings removed