increment_strings: Increment the final number in strings.

View source: R/utility_functions.R

increment_stringsR Documentation

Increment the final number in strings.

Description

Increment the final number in strings.

Usage

increment_strings(strings_to_increment, patterns)

Arguments

strings_to_increment

A list of strings to increment.

patterns

A list of strings of patterns indicating which strings needs to be incremented.

Value

A list of strings identical to strings_to_increment but with strings names corresponding to patterns having had their final number incremented.


eMetaboHUB/MS-CleanR documentation built on Jan. 3, 2024, 8:55 p.m.