swh:1:snp:9523f0d466702d960abd89c52a35d2466e8b9dc4
Raw File
Tip revision: 6558a667945a2eb93983bb2ec0879af62e27f4d9 authored by J. O. Ramsay on 14 August 2017, 12:10:02 UTC
version 2.4.7
Tip revision: 6558a66
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