is_numeric: Check if an object is a valid numeric vector

View source: R/utils.R

is_numericR Documentation

Check if an object is a valid numeric vector

Description

This function verifies whether the input is a numeric vector with no missing (NA, NaN) or infinite (Inf or -Inf) values.

Usage

is_numeric(x)

Arguments

x

An object to check.

Value

A logical value: TRUE if the input is a numeric vector without any missing or infinite values, otherwise FALSE.


dRiftDM documentation built on April 3, 2025, 7:48 p.m.