The R Project SVN R

Rev

Rev 27541 | Rev 32233 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27541 Rev 27733
Line 34... Line 34...
34
}
34
}
35
\seealso{
35
\seealso{
36
  \code{\link{all}}, the \dQuote{complement} of \code{any}.
36
  \code{\link{all}}, the \dQuote{complement} of \code{any}.
37
}
37
}
38
\examples{
38
\examples{
39
range(x <- sort(round(stats::rnorm(10) - 1.2,1)))
39
range(x <- sort(round(rnorm(10) - 1.2,1)))
40
if(any(x < 0)) cat("x contains negative values\n")
40
if(any(x < 0)) cat("x contains negative values\n")
41
}
41
}
42
\keyword{logic}
42
\keyword{logic}