fda (version 2.4.4)

zerofind: Does the range of the input contain 0?

Description

Returns TRUE if range of the argument includes 0 and FALSES if not.

Usage

zerofind(fmat)

Arguments

fmat

An object from which 'range' returns two numbers.

Value

A logical value TRUE or FALSE.

See Also

range

Examples

Run this code
# NOT RUN {
zerofind(1:5)
# FALSE
zerofind(0:3)
# TRUE 
# }

Run the code above in your browser using DataCamp Workspace