Num_Al_Sep: Number/alpha numeric seperator for strings.

Description Usage Arguments Value Note Author(s) Examples

View source: R/Personal_Functions.R

Description

A Function for the separating of numbers from letters. 'b4' for example would be converted to 'b 4'.

Usage

1

Arguments

vec

The string vector in which you wish to separate the numbers from the letters.

Value

output

The separated vector.

Note

This is a really simple function really used inside other functions.

Author(s)

Travis Barton

Examples

1
2
3
test_vec = 'The most iconic American weapon has to be the AR15'
res = Num_Al_Sep(test_vec)
print(res)

LilRhino documentation built on Oct. 31, 2019, 4:59 p.m.