Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nNonNumChar

Count number of non-numeric characters


Description

nNonNumChar counts number of non-numeric characters. Made for positive non-scientific values (eg won't count neg-sign, neither Euro comma ',')

Usage

nNonNumChar(txt)

Arguments

txt

character vector to be treated

Value

numeric vector with numer of non-numeric characters (ie not '.' or 0-9))

See Also

Examples

nNonNumChar("a1b "); sapply(c("aa","12ab","a1b2","12","0.5"),nNonNumChar)

wrMisc

Analyze Experimental High-Throughput (Omics) Data

v1.5.4
GPL-3
Authors
Wolfgang Raffelsberger [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.