assert_no_na | R Documentation |
Assert no NA values in select columns
assert_no_na(dt, varnames, verbose = TRUE)
dt |
[data.table] |
varnames |
[chr] vector of variable names to check for NA values |
verbose |
[lgl] print success message? |
[none] stop if NA values found in 'varnames'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.