zerofind {fda}R Documentation

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

zerofind(1:5)
# FALSE
zerofind(0:3)
# TRUE 

[Package fda version 2.1.1 Index]