removeNonNumeric: Removes all non-numeric characters from a string.

Description Usage Arguments Value Author(s) Examples

Description

Function removes all non-numeric characters from a string.

Usage

1
removeNonNumeric ( string)

Arguments

string

a character vector

Value

a character string

Author(s)

Sebastian Weirich

Examples

1
2
str <- c(".d1.nh.120", "empty", "110", ".nh.dgd", "only.nh")
removeNonNumeric(str)

eatTools documentation built on Nov. 10, 2021, 5:07 p.m.