min_complete | R Documentation |
Demand minimal number of complete records
min_complete(n, vars = TRUE)
n |
Minimal number of records that must be complete |
vars |
|
a function that accepts a data frame and returns TRUE
when the number of complete records is larger than or equal to n
and otherwise FALSE
.
Other helpers:
frac_complete()
,
min_records()
f <- min_complete(20)
f(women) # FALSE (15 records)
f(mtcars) # TRUE (32 records)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.