https://github.com/cran/fda
Raw File
Tip revision: ecd70327a6b646e8dd09634ac89ef2f4f7022ecd authored by J. O. Ramsay on 19 February 2020, 17:44:24 UTC
version 2.4.8.1
Tip revision: ecd7032
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 FALSE if not.  
}
\usage{
  zerofind(fmat, na.rm=TRUE)
}
\arguments{
  \item{fmat}{
    An object from which 'range' returns two numbers.  
  }
  \item{na.rm}{
    logical:  TRUE to remove NAs before computing \code{\link{range}}
  }
}
\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