zerofind {fda} | R Documentation |
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.
References
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
See Also
Examples
zerofind(1:5)
# FALSE
zerofind(0:3)
# TRUE
[Package fda version 6.1.8 Index]