https://github.com/cran/fda
Tip revision: fec523a1895efab4a5d33815999d34407986e74f authored by J. O. Ramsay on 03 October 2008, 00:00:00 UTC
version 2.1.0
version 2.1.0
Tip revision: fec523a
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}