is_numeric {dRiftDM}R 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.


[Package dRiftDM version 0.2.1 Index]