Skip to contents

as.integer with option to suppress warnings for NA coercion

Usage

as_integer(x, quiet = TRUE)

Arguments

x

object to be coerced or tested.

quiet

If TRUE, suppress warnings about creation of NA values through coercion of object types. Default to TRUE.