powered by
Count the number of infinite or missing values in a vector.
countInf(x)
a vector.
countInf returns the number of infinite values in x. countNA returns the number of missing values in x.
countInf
x
countNA
# NOT RUN { data(sleep, package="VIM") countInf(log(sleep$Dream)) countNA(sleep$Dream) # }
Run the code above in your browser using DataLab