swh:1:snp:9523f0d466702d960abd89c52a35d2466e8b9dc4
Tip revision: 0549e6a86aa144d8c2aade2d8704a269fb8a94ed authored by J. O. Ramsay on 05 July 2018, 12:19:38 UTC
version 2.4.8
version 2.4.8
Tip revision: 0549e6a
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}