# Count NA values row-by-row ------------------------------------------
count_na <- function(items) {
apply(items,
1,
function(x) sum(is.na(x)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.