Learn R Programming

name (version 0.0.2)

sort_suff: Sort by Suffix

Description

Sort by Suffix

Usage

sort_suff(x)

Value

character

Arguments

x

character; strings to sort

Examples

Run this code
x <- c('pop_2020_est', 'pop_white_2020', 'pop_black_2020', 'pop_white_2021')
sort_suff(x)

Run the code above in your browser using DataLab