File: countInf.Rd

package info (click to toggle)
r-cran-vim 6.2.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,556 kB
  • sloc: cpp: 141; sh: 12; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 594 bytes parent folder | download | duplicates (2)
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}