is_negative: Conditional check for a negative value

View source: R/is_negative.r

is_negativeR Documentation

Conditional check for a negative value

Description

Return TRUE if the value is negative.

Usage

is_negative(x)

Arguments

x

A numeric vector

Value

A boolean vector with the return from the condition check.

Examples


is_negative(4)

is_negative(-4)


vbfelix/relper documentation built on May 10, 2024, 10:50 p.m.