Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

Arguments

fmat

An object from which 'range' returns two numbers.

Value

A logical value TRUE or FALSE.

See Also

Examples

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

fda

Functional Data Analysis

v5.1.9
GPL (>= 2)
Authors
J. O. Ramsay <ramsay@psych.mcgill.ca> [aut,cre], Spencer Graves <spencer.graves@effectivedefense.org> [ctb], Giles Hooker <gjh27@cornell.edu> [ctb]
Initial release
2020-12-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.