Learn R Programming

fda (version 6.1.4)

zerofind: Does the range of the input contain 0?

Description

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

Usage

zerofind(fmat)

Value

A logical value TRUE or FALSE.

Arguments

fmat

An object from which 'range' returns two numbers.

See Also

Examples

Run this code
zerofind(1:5)
# FALSE
zerofind(0:3)
# TRUE 

Run the code above in your browser using DataLab