Description Usage Arguments Value Examples
A function to check if the ratio of NA in a vector is over a threshold.
1 | IsAtLeastNARatio(vect, min.ratio, verbose = TRUE)
|
vect |
A vector to analyse |
min.ratio |
A threshold ratio of NA values in vect (from 0 to 1) |
verbose |
Logical. If TRUE (default), report status of the process along the executions |
Logical. TRUE if the ratio of NA in vect is at least minRatio, else FALSE.
1 2 3 4 5 6 | ## Not run:
vector.true <- c(NA, 1:3)
vector.false <- c(NA, 1:5)
IsAtLeastNARatio(vector.true, 0.2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.