# Function that counts # of unique values.
# Do not export.
length_unique = function(x) {
# Skip NAs.
length(setdiff(unique(x), NA))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.