https://github.com/cran/fda
Raw File
Tip revision: 0fe7f88c11abe3368cc5d4c4a96db0538b7b4dc2 authored by J. O. Ramsay on 02 August 2020, 11:17:16 UTC
version 5.1.5.1
Tip revision: 0fe7f88
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}
back to top