1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{countInf}
\alias{countInf}
\alias{countNA}
\title{Count number of infinite or missing values}
\usage{
countInf(x)
}
\arguments{
\item{x}{a vector.}
}
\value{
\code{countInf} returns the number of infinite values in \code{x}.
\code{countNA} returns the number of missing values in \code{x}.
}
\description{
Count the number of infinite or missing values in a vector.
}
\examples{
data(sleep, package="VIM")
countInf(log(sleep$Dream))
countNA(sleep$Dream)
}
\author{
Andreas Alfons
}
\keyword{utilities}
|