is_posNum {fMRItools}R Documentation

Is this object a positive number? (Or non-negative)

Description

Is this object a positive number? (Or non-negative)

Usage

is_posNum(x, zero_ok = FALSE)

Arguments

x

The value to check

zero_ok

Is a value of zero ok?

Value

Logical indicating if x is a single positive or non-negative number


[Package fMRItools version 0.4.7 Index]