View source: R/zerofind.R View source: R/plot.fd.R
zerofind | R Documentation |
Returns TRUE if range of the argument includes 0 and FALSE if not.
zerofind(fmat)
fmat |
An object from which 'range' returns two numbers. |
A logical value TRUE or FALSE.
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.
range
zerofind(1:5)
# FALSE
zerofind(0:3)
# TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.