countInf | R Documentation |
Count the number of infinite or missing values in a vector.
countInf(x)
x |
a vector. |
countInf
returns the number of infinite values in x
.
countNA
returns the number of missing values in x
.
Andreas Alfons
data(sleep, package="VIM") countInf(log(sleep$Dream)) countNA(sleep$Dream)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.