https://github.com/cran/fda
Tip revision: 094f160ddcc40dc2f112cc652124d3e2d08c2831 authored by J. O. Ramsay on 20 April 2020, 16:30:03 UTC
version 5.1.4
version 5.1.4
Tip revision: 094f160
zerofind.Rd
\name{zerofind}
\alias{zerofind}
\title{
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{
\item{fmat}{
An object from which 'range' returns two numbers.
}
}
\value{
A logical value TRUE or FALSE.
}
\seealso{
\code{\link{range}}
}
\examples{
zerofind(1:5)
# FALSE
zerofind(0:3)
# TRUE
}
% docclass is function
\keyword{logic}