questioning

as_int(x, na_regex = "[^0-9]")

Arguments

x

object to coerce silently to integer.

na_regex

regular expression of values to convert to NA.